method
match
rails latest stable - Class:
ActionDispatch::Journey::Path::Pattern
match(other)public
No documentation available.
# File actionpack/lib/action_dispatch/journey/path/pattern.rb, line 156
def match(other)
return unless match = to_regexp.match(other)
MatchData.new(names, offsets, match)
end