Class: Qcmd::CueAction
Instance Attribute Summary
Attributes inherited from Action
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 Action
evaluate, #evaluate, #initialize, #osc_address=, #osc_message, #parse
Constructor Details
This class inherits a constructor from Qcmd::Action
Instance Method Details
#command ⇒ Object
cue commands work differently
142 143 144 |
# File 'lib/qcmd/action.rb', line 142 def command code[2] end |
#id_field ⇒ Object
cue specific fields
156 157 158 |
# File 'lib/qcmd/action.rb', line 156 def id_field code[0] end |
#identifier ⇒ Object
160 161 162 |
# File 'lib/qcmd/action.rb', line 160 def identifier code[1] end |
#osc_address ⇒ Object
146 147 148 |
# File 'lib/qcmd/action.rb', line 146 def osc_address "/#{ code[0] }/#{ code[1] }/#{ code[2] }" end |
#osc_arguments ⇒ Object
150 151 152 |
# File 'lib/qcmd/action.rb', line 150 def osc_arguments stringify code[3..-1] end |