Class: OSC::Bundle
- Inherits:
-
Object
- Object
- OSC::Bundle
- Extended by:
- Forwardable
- Includes:
- Enumerable
- Defined in:
- lib/osc.rb
Overview
bundle of messages and/or bundles
Instance Attribute Summary collapse
-
#args ⇒ Object
(also: #messages, #contents, #to_a)
Returns the value of attribute args.
-
#source ⇒ Object
Returns the value of attribute source.
-
#timetag ⇒ Object
(also: #timestamp)
Returns the value of attribute timetag.
Instance Method Summary collapse
- #encode ⇒ Object
-
#initialize(t = nil, *args) ⇒ Bundle
constructor
New bundle with time and messages.
- #to_yaml ⇒ Object
Constructor Details
Instance Attribute Details
#args ⇒ Object Also known as: messages, contents, to_a
Returns the value of attribute args.
164 165 166 |
# File 'lib/osc.rb', line 164 def args @args end |
#source ⇒ Object
Returns the value of attribute source.
165 166 167 |
# File 'lib/osc.rb', line 165 def source @source end |
#timetag ⇒ Object Also known as: timestamp
Returns the value of attribute timetag.
163 164 165 |
# File 'lib/osc.rb', line 163 def @timetag end |