method
build
v4.2.1 -
Show latest stable
- Class:
ActionDispatch::Journey::Router::Strexp
build(path, requirements, separators, anchor = true)public
No documentation available.
# File actionpack/lib/action_dispatch/journey/router/strexp.rb, line 11
def self.build(path, requirements, separators, anchor = true)
parser = Journey::Parser.new
ast = parser.parse path
new ast, path, requirements, separators, anchor
end