Class: ActionDispatch::Journey::NFA::Builder
- Inherits:
-
Object
- Object
- ActionDispatch::Journey::NFA::Builder
- Defined in:
- lib/action_dispatch/journey/nfa/builder.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(ast) ⇒ Builder
constructor
A new instance of Builder.
- #transition_table ⇒ Object
Constructor Details
#initialize(ast) ⇒ Builder
Returns a new instance of Builder.
64 65 66 |
# File 'lib/action_dispatch/journey/nfa/builder.rb', line 64 def initialize(ast) @ast = ast end |
Instance Method Details
#transition_table ⇒ Object
68 69 70 71 72 |
# File 'lib/action_dispatch/journey/nfa/builder.rb', line 68 def transition_table tt = TransitionTable.new Visitor.new(tt).accept(@ast) tt end |