class String
Public Instance Methods
to_duration()
click to toggle source
# File lib/musicality/notation/parsing/convenience_methods.rb, line 41 def to_duration Musicality::Duration.parse(self) end
to_durations(pattern=" ")
click to toggle source
# File lib/musicality/notation/parsing/convenience_methods.rb, line 47 def to_durations pattern=" " Musicality::Duration.split_parse(self, pattern) end
to_key()
click to toggle source
# File lib/musicality/notation/parsing/convenience_methods.rb, line 63 def to_key Musicality::Key.parse(self) end
Also aliased as: to_k
to_meter()
click to toggle source
# File lib/musicality/notation/parsing/convenience_methods.rb, line 78 def to_meter Musicality::Meter.parse(self) end
to_note()
click to toggle source
# File lib/musicality/notation/parsing/convenience_methods.rb, line 68 def to_note Musicality::Note.parse(self) end
Also aliased as: to_n
to_notes(pattern=" ")
click to toggle source
# File lib/musicality/notation/parsing/convenience_methods.rb, line 73 def to_notes pattern=" " Musicality::Note.split_parse(self, pattern) end
Also aliased as: to_ns
to_pitch()
click to toggle source
# File lib/musicality/notation/parsing/convenience_methods.rb, line 53 def to_pitch Musicality::Pitch.parse(self) end
Also aliased as: to_p
to_pitches(pattern=" ")
click to toggle source
# File lib/musicality/notation/parsing/convenience_methods.rb, line 58 def to_pitches pattern=" " Musicality::Pitch.split_parse(self, pattern) end
Also aliased as: to_ps
to_segment()
click to toggle source
# File lib/musicality/notation/parsing/convenience_methods.rb, line 82 def to_segment Musicality::Segment.parse(self) end