Class: Music::Arrangement::InstrumentAssignment
- Inherits:
-
Object
- Object
- Music::Arrangement::InstrumentAssignment
- Includes:
- Hashmake::HashMakeable
- Defined in:
- lib/music-arrangement/instrument_assignment.rb
Overview
Contains all the information needed to create the instrument plugin, configure initial settings, and any settings changes.
Constant Summary collapse
- ARG_SPECS =
hashed-arg specs (for hash-makeable idiom)
{ :class_specifier => arg_spec(:reqd => true, :type => ClassSpecifier), :initial_settings => arg_spec_array(:reqd => false, :type => [String, Hash]) }
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ InstrumentAssignment
constructor
A new instance of InstrumentConfig.
Constructor Details
#initialize(args = {}) ⇒ InstrumentAssignment
A new instance of InstrumentConfig.
18 19 20 |
# File 'lib/music-arrangement/instrument_assignment.rb', line 18 def initialize args={} hash_make args, InstrumentAssignment::ARG_SPECS end |