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
155 156 157 |
# File 'lib/rmpd/command.rb', line 155 def ack? !ok? end |
#error ⇒ Object
159 160 161 |
# File 'lib/rmpd/command.rb', line 159 def error find {|e| e.ack?}.error if ack? end |
#ok? ⇒ Boolean
151 152 153 |
# File 'lib/rmpd/command.rb', line 151 def ok? all?(&:ok?) end |