method
new
v4.2.7 -
Show latest stable
- Class:
ActionDispatch::Journey::Path::Pattern
new(strexp)public
No documentation available.
# File actionpack/lib/action_dispatch/journey/path/pattern.rb, line 13
def initialize(strexp)
@spec = strexp.ast
@requirements = strexp.requirements
@separators = strexp.separators.join
@anchored = strexp.anchor
@names = nil
@optional_names = nil
@required_names = nil
@re = nil
@offsets = nil
end