Class: Lydown::Parsing::Lyrics

Inherits:
Root
  • Object
show all
Defined in:
lib/lydown/parsing/nodes.rb

Defined Under Namespace

Modules: Content, QuotedContent

Instance Method Summary collapse

Methods inherited from Root

#initialize

Methods included from 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



301
302
303
304
305
# File 'lib/lydown/parsing/nodes.rb', line 301

def to_stream(stream, opts)
  o = {type: :lyrics}
  _to_stream(self, o, opts)
  stream << o
end