Class: MPD::Protocol::Ok
- Defined in:
- lib/mpd/protocol/response.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Attributes inherited from Response
Instance Method Summary collapse
-
#initialize(command, data, message) ⇒ Ok
constructor
A new instance of Ok.
- #success? ⇒ Boolean
Methods inherited from Response
#each, #empty?, parse, read, #to_a, #to_hash
Constructor Details
#initialize(command, data, message) ⇒ Ok
Returns a new instance of Ok.
122 123 124 125 126 |
# File 'lib/mpd/protocol/response.rb', line 122 def initialize (command, data, ) super(command, data) @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
120 121 122 |
# File 'lib/mpd/protocol/response.rb', line 120 def @message end |
Instance Method Details
#success? ⇒ Boolean
128 |
# File 'lib/mpd/protocol/response.rb', line 128 def success?; true; end |