Method: ActionDispatch::Journey::Path::Pattern::AnchoredRegexp#initialize
- Defined in:
- actionpack/lib/action_dispatch/journey/path/pattern.rb
#initialize(separator, matchers) ⇒ AnchoredRegexp
Returns a new instance of AnchoredRegexp.
69 70 71 72 73 74 |
# File 'actionpack/lib/action_dispatch/journey/path/pattern.rb', line 69 def initialize(separator, matchers) @separator = separator @matchers = matchers @separator_re = "([^#{separator}]+)" super() end |