Class: OSC::OSCString
- Inherits:
-
OSCArgument
- Object
- OSCArgument
- OSC::OSCString
- Defined in:
- lib/osc-ruby/osc_types.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
39 40 41 |
# File 'lib/osc-ruby/osc_types.rb', line 39 def encode padding(@val.sub(/\000.*\z/, '') + "\000").force_encoding("BINARY") end |
#tag ⇒ Object
35 36 37 |
# File 'lib/osc-ruby/osc_types.rb', line 35 def tag 's' end |