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.
66 67 68 |
# File 'lib/action_dispatch/journey/nfa/builder.rb', line 66 def initialize(ast) @ast = ast end |
Instance Method Details
#transition_table ⇒ Object
70 71 72 73 74 |
# File 'lib/action_dispatch/journey/nfa/builder.rb', line 70 def transition_table tt = TransitionTable.new Visitor.new(tt).accept(@ast) tt end |