Module: Lydown::Parsing::Note::Head
- Defined in:
- lib/lydown/parsing/nodes.rb
Instance Method Summary collapse
Instance Method Details
#to_stream(note, opts) ⇒ Object
140 141 142 143 144 145 |
# File 'lib/lydown/parsing/nodes.rb', line 140 def to_stream(note, opts) # remove octave marks from note head (this is only in case the order # accidental-octave was reversed) head = text_value.gsub(/[',]+/) {|m| note[:octave] = m; ''} note[:head] = head end |