Sha256: 694eecc5bcbd81119d4a9a794ee5d403d1380f1b6b3da7305edeb2237e707fbd
Contents?: true
Size: 608 Bytes
Versions: 1
Compression:
Stored size: 608 Bytes
Contents
module Music module Arrangement # Contains all the information needed to create the instrument plugin, configure # initial settings, and any settings changes. # # @author James Tunnell class InstrumentAssignment include Hashmake::HashMakeable # hashed-arg specs (for hash-makeable idiom) ARG_SPECS = { :class_specifier => arg_spec(:reqd => true, :type => ClassSpecifier), :initial_settings => arg_spec_array(:reqd => false, :type => [String, Hash]) } # A new instance of InstrumentConfig. def initialize args={} hash_make args, InstrumentAssignment::ARG_SPECS end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
music-arrangement-0.3.0 | lib/music-arrangement/instrument_assignment.rb |