Class: Radiodan::MPD::Ack
- Inherits:
-
Object
- Object
- Radiodan::MPD::Ack
- Defined in:
- lib/radiodan/adapter/mpd/ack.rb
Constant Summary collapse
- FORMAT =
/ACK \[(\d)+@(\d)+\] \{(.*)\} (.*)/
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#error_id ⇒ Object
readonly
Returns the value of attribute error_id.
-
#position ⇒ Object
readonly
Returns the value of attribute position.
Instance Method Summary collapse
-
#initialize(ack) ⇒ Ack
constructor
A new instance of Ack.
Constructor Details
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
4 5 6 |
# File 'lib/radiodan/adapter/mpd/ack.rb', line 4 def command @command end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
4 5 6 |
# File 'lib/radiodan/adapter/mpd/ack.rb', line 4 def description @description end |
#error_id ⇒ Object (readonly)
Returns the value of attribute error_id.
4 5 6 |
# File 'lib/radiodan/adapter/mpd/ack.rb', line 4 def error_id @error_id end |
#position ⇒ Object (readonly)
Returns the value of attribute position.
4 5 6 |
# File 'lib/radiodan/adapter/mpd/ack.rb', line 4 def position @position end |