Class: OSC::OSCArgument
- Inherits:
-
Object
show all
- Defined in:
- lib/osc.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
Returns a new instance of OSCArgument.
12
|
# File 'lib/osc.rb', line 12
def initialize(val) @val = val end
|
Instance Attribute Details
#val ⇒ Object
Returns the value of attribute val.
14
15
16
|
# File 'lib/osc.rb', line 14
def val
@val
end
|
Instance Method Details
#to_f ⇒ Object
17
|
# File 'lib/osc.rb', line 17
def to_f() @val.to_f end
|
#to_i ⇒ Object
16
|
# File 'lib/osc.rb', line 16
def to_i() @val.to_i end
|
#to_s ⇒ Object
18
|
# File 'lib/osc.rb', line 18
def to_s() @val.to_s end
|