Method: ActionDispatch::Journey::GTG::Builder#initialize

Defined in:
actionpack/lib/action_dispatch/journey/gtg/builder.rb

#initialize(root) ⇒ Builder

Returns a new instance of Builder.



15
16
17
18
19
# File 'actionpack/lib/action_dispatch/journey/gtg/builder.rb', line 15

def initialize(root)
  @root      = root
  @ast       = Nodes::Cat.new root, DUMMY_END_NODE
  @followpos = build_followpos
end