method

build

rails latest stable - Class: ActionDispatch::Journey::Router::Strexp

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

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