Class: Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/alda-rb/patches.rb

Overview

Contains patches to Ruby’s core classes.

Instance Method Summary collapse

Instance Method Details

#detach_from_parentObject

See Alda::Event#detach_from_parent.



113
114
# File 'lib/alda-rb/patches.rb', line 113

def detach_from_parent(...)
end

#to_alda_codeObject

:call-seq:

to_alda_code() -> String

See Alda::Event#to_alda_code.



107
108
109
# File 'lib/alda-rb/patches.rb', line 107

def to_alda_code
	"#{Alda.v1? ? ?: : Thread.current.inside_alda_list ? '' : ?'}#{to_s}"
end