summaryrefslogtreecommitdiff
path: root/libmpd.rb
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2009-07-23 19:12:29 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2009-07-23 19:12:29 -0700
commit933d1e6c13795830a096b7dcbe05ddebd818ed67 (patch)
tree7e66290f52f9931c1503df9f91ddc5c424e56cdf /libmpd.rb
parentee7ac5936fd8c103cb32759df748df09990ee288 (diff)
downloadruby-libmpd-933d1e6c13795830a096b7dcbe05ddebd818ed67.tar.gz
ruby-libmpd-933d1e6c13795830a096b7dcbe05ddebd818ed67.tar.xz
Let's be consistent with variables!
Diffstat (limited to 'libmpd.rb')
-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.