Class: Tone::Event::Part
Instance Method Summary collapse
-
#initialize(definitions, &block) ⇒ Part
constructor
A new instance of Part.
Constructor Details
#initialize(definitions, &block) ⇒ Part
Returns a new instance of Part.
20 21 22 |
# File 'lib/tone/event.rb', line 20 def initialize(definitions, &block) super `new Tone.Part(#{block.to_n}, #{definitions.to_n})` end |