Class: Rmpd::Command::ResponseArray
- Inherits:
-
Array
- Object
- Array
- Rmpd::Command::ResponseArray
- Defined in:
- lib/rmpd/command.rb
Instance Method Summary collapse
Instance Method Details
#ack? ⇒ Boolean
181 182 183 |
# File 'lib/rmpd/command.rb', line 181 def ack? !ok? end |
#error ⇒ Object
185 186 187 |
# File 'lib/rmpd/command.rb', line 185 def error find {|e| e.ack?}.error if ack? end |
#ok? ⇒ Boolean
177 178 179 |
# File 'lib/rmpd/command.rb', line 177 def ok? all?(&:ok?) end |