Class: Qcmd::CueAction
- Inherits:
-
Action
- Object
- BaseAction
- Action
- Qcmd::CueAction
- Defined in:
- lib/qcmd/actions/cue_action.rb
Instance Attribute Summary
Attributes inherited from BaseAction
Instance Method Summary collapse
-
#command ⇒ Object
cue commands work differently.
-
#id_field ⇒ Object
cue specific fields.
- #identifier ⇒ Object
- #osc_address ⇒ Object
- #osc_arguments ⇒ Object
Methods inherited from BaseAction
evaluate, #evaluate, #initialize, #osc_address=, #osc_message, #parse
Constructor Details
This class inherits a constructor from Qcmd::BaseAction
Instance Method Details
#command ⇒ Object
cue commands work differently
4 5 6 |
# File 'lib/qcmd/actions/cue_action.rb', line 4 def command code[2] end |
#id_field ⇒ Object
cue specific fields
18 19 20 |
# File 'lib/qcmd/actions/cue_action.rb', line 18 def id_field code[0] end |
#identifier ⇒ Object
22 23 24 |
# File 'lib/qcmd/actions/cue_action.rb', line 22 def identifier code[1] end |
#osc_address ⇒ Object
8 9 10 |
# File 'lib/qcmd/actions/cue_action.rb', line 8 def osc_address "/#{ code[0] }/#{ code[1] }/#{ code[2] }" end |
#osc_arguments ⇒ Object
12 13 14 |
# File 'lib/qcmd/actions/cue_action.rb', line 12 def osc_arguments stringify code[3..-1] end |