Class: Lydown::Parsing::Root

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Includes:
RootMethods
Defined in:
lib/lydown/parsing/nodes.rb

Instance Method Summary collapse

Methods included from RootMethods

#_to_stream, #add_event, #each_child, #event_hash, #to_stream

Constructor Details

#initialize(*args) ⇒ Root

Returns a new instance of Root.



60
61
62
63
64
65
# File 'lib/lydown/parsing/nodes.rb', line 60

def initialize(*args)
  super
  if $progress_bar
    $progress_bar.progress = interval.end
  end
end