# File lib/action_dispatch/routing/mapper.rb, line 260 def match(path, options=nil) mapping = Mapping.new(@set, @scope, path, options || {}).to_route @set.add_route(*mapping) self end