Class: Lydown::Parsing::Repeat::End

Inherits:
Lydown::Parsing::Root show all
Defined in:
lib/lydown/parsing/nodes.rb

Instance Method Summary collapse

Methods inherited from Lydown::Parsing::Root

#initialize

Methods included from Lydown::Parsing::RootMethods

#_to_stream, #add_event, #each_child, #event_hash

Constructor Details

This class inherits a constructor from Lydown::Parsing::Root

Instance Method Details

#to_stream(stream, opts) ⇒ Object



444
445
446
447
448
449
# File 'lib/lydown/parsing/nodes.rb', line 444

def to_stream(stream, opts)
  stream << event_hash(stream, opts, {
    type: :repeat_end,
    raw:  text_value
  })
end