From a5b89802ef7614b214e92a1e6b03ebc17e3557b5 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Sat, 1 Aug 2009 13:10:30 -0700 Subject: Various cleanup. --- libmpd/status.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libmpd/status.rb') 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 -- cgit v1.2.3-70-g09d2