From 933d1e6c13795830a096b7dcbe05ddebd818ed67 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Thu, 23 Jul 2009 19:12:29 -0700 Subject: Let's be consistent with variables! --- libmpd.rb | 4 ++-- 1 file 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. -- cgit v1.2.3-70-g09d2