Module: Lydown::Parsing::Note

Includes:
Root
Defined in:
lib/lydown/parsing/nodes.rb

Defined Under Namespace

Modules: AccidentalFlag, Expression, Head, Octave

Instance Method Summary collapse

Methods included from Root

#_to_stream

Instance Method Details

#to_stream(stream) ⇒ Object



83
84
85
86
87
# File 'lib/lydown/parsing/nodes.rb', line 83

def to_stream(stream)
  note = {type: :note, raw: text_value}
  _to_stream(self, note)
  stream << note
end