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 =
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