Class: ActionDispatch::Journey::Visitors::Visitor

Inherits:
Object
  • Object
show all
Defined in:
actionpack/lib/action_dispatch/journey/visitors.rb

Overview

:nodoc:

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 'actionpack/lib/action_dispatch/journey/visitors.rb', line 13

def accept(node)
  visit(node)
end