summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmpd.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpd.rb b/libmpd.rb
index 0d2b41e..72e0f19 100644
--- a/libmpd.rb
+++ b/libmpd.rb
@@ -101,8 +101,8 @@ class MPD
#
# Accepts an argument of _true_ to enable or _false_ to disable.
# If no argument is given, defaults to _true_.
- def pause pause=true
- return send_request 'pause %s' % pause.to_i
+ def pause state=true
+ return send_request 'pause %s' % state.to_i
end
# Stops playing.