method

build

rails latest stable - Class: ActionDispatch::Journey::Path::Pattern

Method deprecated or moved

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

build(path, requirements, separators, anchored)
public

No documentation available.

# File actionpack/lib/action_dispatch/journey/path/pattern.rb, line 13
        def self.build(path, requirements, separators, anchored)
          parser = Journey::Parser.new
          ast = parser.parse path
          new ast, requirements, separators, anchored
        end