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