summaryrefslogtreecommitdiff
path: root/libmpd/status.rb
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2009-08-01 13:10:30 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2009-08-01 13:10:30 -0700
commita5b89802ef7614b214e92a1e6b03ebc17e3557b5 (patch)
tree3666470265f4481810d5f6474dde6d5ffe032ae0 /libmpd/status.rb
parent86d08df03202ac183c1f38b47765f2a4cfcafd72 (diff)
downloadruby-libmpd-a5b89802ef7614b214e92a1e6b03ebc17e3557b5.tar.gz
ruby-libmpd-a5b89802ef7614b214e92a1e6b03ebc17e3557b5.tar.xz
Various cleanup.
Diffstat (limited to 'libmpd/status.rb')
-rw-r--r--libmpd/status.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmpd/status.rb b/libmpd/status.rb
index 639edb4..b86c135 100644
--- a/libmpd/status.rb
+++ b/libmpd/status.rb
@@ -13,16 +13,16 @@
module MPDStatus
# Returns a Hash containing information about the current song.
def currentsong
- return generate_hash send_request 'currentsong'
+ return generate_hash(send_request('currentsong'))
end
# Returns a Hash containing the current status.
def status
- return generate_hash send_request 'status'
+ return generate_hash(send_request('status'))
end
# Returns a Hash containing statistics.
def stats
- return generate_hash send_request 'stats'
+ return generate_hash(send_request('stats'))
end
end