summaryrefslogtreecommitdiff
path: root/libmpd/status.rb
diff options
context:
space:
mode:
Diffstat (limited to 'libmpd/status.rb')
-rw-r--r--libmpd/status.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/libmpd/status.rb b/libmpd/status.rb
index 52c937c..d11c6ca 100644
--- a/libmpd/status.rb
+++ b/libmpd/status.rb
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
#
#--
-# Copyright 2009 David Vazgenovich Shakaryan <dvshakaryan@gmail.com>
+# Copyright 2009-2014 David Vazgenovich Shakaryan <dvshakaryan@gmail.com>
# Distributed under the terms of the GNU General Public License v3.
# See http://www.gnu.org/licenses/gpl.txt for the full license text.
#++
@@ -13,21 +13,21 @@
module MPDStatus
# Clears the error message in the status, if one exists.
def clearerror
- return send_request('clearerror')
+ send_request('clearerror')
end
# Returns information about the current song.
def current
- return generate_hash(send_request('currentsong'))
+ generate_hash(send_request('currentsong'))
end
# Returns daemon and database statistics.
def stats
- return generate_hash(send_request('stats'))
+ generate_hash(send_request('stats'))
end
# Returns the status.
def status
- return generate_hash(send_request('status'))
+ generate_hash(send_request('status'))
end
end