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