diff options
| author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2009-08-01 13:40:01 -0700 | 
|---|---|---|
| committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2009-08-01 13:40:01 -0700 | 
| commit | 23a63cfce5ef659a35418e7d0d30f0b8ea9f45a5 (patch) | |
| tree | 6b6df352b345653a9522378b43578de31b06bc80 | |
| parent | f59a6ac1ececbae96cc4430056b6f1ac128f3823 (diff) | |
| download | ruby-libmpd-23a63cfce5ef659a35418e7d0d30f0b8ea9f45a5.tar.gz ruby-libmpd-23a63cfce5ef659a35418e7d0d30f0b8ea9f45a5.tar.xz | |
MPDStatus: reorganise and improve documentation.
| -rw-r--r-- | libmpd/status.rb | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/libmpd/status.rb b/libmpd/status.rb index ee14b5f..52c937c 100644 --- a/libmpd/status.rb +++ b/libmpd/status.rb @@ -11,7 +11,7 @@  # Collection of methods related to the status.  module MPDStatus -  # Clears the current error message in the status. +  # Clears the error message in the status, if one exists.    def clearerror      return send_request('clearerror')    end @@ -21,13 +21,13 @@ module MPDStatus      return generate_hash(send_request('currentsong'))    end +  # Returns daemon and database statistics. +  def stats +    return generate_hash(send_request('stats')) +  end +    # Returns the status.    def status      return generate_hash(send_request('status'))    end - -  # Returns statistics. -  def stats -    return generate_hash(send_request('stats')) -  end  end | 
