method

new

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: Pattern
new(ast, requirements, separators, anchored) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/journey/path/pattern.rb, line 9
        def initialize(ast, requirements, separators, anchored)
          @ast          = ast
          @spec         = ast.root
          @requirements = requirements
          @separators   = separators
          @anchored     = anchored

          @names          = ast.names
          @optional_names = nil
          @required_names = nil
          @re             = nil
          @offsets        = nil
        end
Register or log in to add new notes.