Class: Tone::Event::Part

Inherits:
Base
  • Object
show all
Defined in:
lib/tone/event.rb

Instance Method Summary collapse

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