Method: ActionDispatch::Journey::Path::Pattern::AnchoredRegexp#accept

Defined in:
actionpack/lib/action_dispatch/journey/path/pattern.rb

#accept(node) ⇒ Object



76
77
78
# File 'actionpack/lib/action_dispatch/journey/path/pattern.rb', line 76

def accept(node)
  %r{\A#{visit node}\Z}
end