class Hash

Public Instance Methods

detach_from_parent() click to toggle source

See Alda::Event#detach_from_parent.

# File lib/alda-rb/patches.rb, line 30
def detach_from_parent
  each.reverse_each &:detach_from_parent
end
to_alda_code() click to toggle source

See Alda::Event#to_alda_code.

# File lib/alda-rb/patches.rb, line 24
def to_alda_code
  "[#{map(&:to_alda_code).join ' '}]"
end