Class: Musicality::SuperCollider::SynthdefSettings
- Inherits:
-
Object
- Object
- Musicality::SuperCollider::SynthdefSettings
- Includes:
- Packable
- Defined in:
- lib/musicality/performance/supercollider/synthdef_settings.rb
Constant Summary
Constants included from Packable
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, args = {}) ⇒ SynthdefSettings
constructor
A new instance of SynthdefSettings.
Methods included from Packable
#class_str, included, #init_params, #pack, pack_val, recover_class, unpack_val
Constructor Details
#initialize(name, args = {}) ⇒ SynthdefSettings
Returns a new instance of SynthdefSettings.
8 9 10 |
# File 'lib/musicality/performance/supercollider/synthdef_settings.rb', line 8 def initialize name, args={} @name, @args = name, args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
6 7 8 |
# File 'lib/musicality/performance/supercollider/synthdef_settings.rb', line 6 def args @args end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/musicality/performance/supercollider/synthdef_settings.rb', line 6 def name @name end |