Class: OSC::OSCString
- Inherits:
-
OSCArgument
- Object
- OSCArgument
- OSC::OSCString
- Defined in:
- lib/osc.rb
Instance Attribute Summary
Attributes inherited from OSCArgument
Instance Method Summary collapse
Methods inherited from OSCArgument
#initialize, #to_f, #to_i, #to_s
Constructor Details
This class inherits a constructor from OSC::OSCArgument
Instance Method Details
#encode ⇒ Object
45 |
# File 'lib/osc.rb', line 45 def encode() padding(@val.sub(/\000.*\z/, '') + "\000") end |
#tag ⇒ Object
44 |
# File 'lib/osc.rb', line 44 def tag() 's' end |