Module: Lydown::Parsing::SourceRef

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

Defined Under Namespace

Modules: Column, Line

Instance Method Summary collapse

Methods included from Root

#_to_stream, #event_hash

Instance Method Details

#to_stream(stream, opts) ⇒ Object



373
374
375
376
377
# File 'lib/lydown/parsing/nodes.rb', line 373

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