Method: ActionDispatch::Journey::Path::Pattern#to_regexp

Defined in:
actionpack/lib/action_dispatch/journey/path/pattern.rb

#to_regexpObject



173
174
175
# File 'actionpack/lib/action_dispatch/journey/path/pattern.rb', line 173

def to_regexp
  @re ||= regexp_visitor.new(@separators, @requirements).accept spec
end