Class: ActionDispatch::Journey::Visitors::Each
- Inherits:
-
FunctionalVisitor
- Object
- FunctionalVisitor
- ActionDispatch::Journey::Visitors::Each
- Defined in:
- actionpack/lib/action_dispatch/journey/visitors.rb
Overview
Loop through the requirements AST.
Constant Summary collapse
- INSTANCE =
new
Constants inherited from FunctionalVisitor
FunctionalVisitor::DISPATCH_CACHE
Instance Method Summary collapse
-
#visit(node, block) ⇒ Object
:nodoc:.
Methods inherited from FunctionalVisitor
#accept, #binary, #nary, #terminal, #unary, #visit_CAT, #visit_DOT, #visit_GROUP, #visit_LITERAL, #visit_OR, #visit_SLASH, #visit_STAR, #visit_SYMBOL
Instance Method Details
#visit(node, block) ⇒ Object
:nodoc:
160 161 162 163 |
# File 'actionpack/lib/action_dispatch/journey/visitors.rb', line 160 def visit(node, block) block.call(node) super end |