Class: OSC::OSCFloat32

Inherits:
OSCArgument show all
Defined in:
lib/osc.rb

Instance Attribute Summary

Attributes inherited from OSCArgument

#val

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

#encodeObject

fake



38
# File 'lib/osc.rb', line 38

def encode() [@val].pack('g') end

#tagObject



37
# File 'lib/osc.rb', line 37

def tag() 'f' end