Sha256: fbf1e8b0c0bd04e8b6ac993e1ed263e4650aa7cdf09c463f55fd7439c1dcf320
Contents?: true
Size: 485 Bytes
Versions: 4
Compression:
Stored size: 485 Bytes
Contents
module Qcmd class CueAction < BaseAction # cue commands should be in the form: # # [$id_field, $identifier, $command[, $arguments]] # # where arguments are optional. def command code[2] end def osc_address "/#{ code[0] }/#{ code[1] }/#{ code[2] }" end def osc_arguments stringify code[3..-1] end # cue specific fields def id_field code[0] end def identifier code[1] end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
qcmd-0.2.0 | lib/qcmd/actions/cue_action.rb |
qcmd-0.1.16 | lib/qcmd/actions/cue_action.rb |
qcmd-0.1.16.pre2 | lib/qcmd/actions/cue_action.rb |
qcmd-0.1.16.pre | lib/qcmd/actions/cue_action.rb |