Class: ActionDispatch::Journey::Visitors::Visitor
- Defined in:
- actionpack/lib/action_dispatch/journey/visitors.rb
Overview
:nodoc:
Direct Known Subclasses
NFA::Visitor, Path::Pattern::AnchoredRegexp, Path::Pattern::RegexpOffsets, Dot, Each, Formatter, String
Constant Summary collapse
- DISPATCH_CACHE =
Hash.new { |h,k| h[k] = :"visit_#{k}" }
Instance Method Summary collapse
Instance Method Details
#accept(node) ⇒ Object
10 11 12 |
# File 'actionpack/lib/action_dispatch/journey/visitors.rb', line 10 def accept(node) visit(node) end |