Methods
N
U
Attributes
[RW] routes
Class Public methods
new(routes)
# File rails/actionpack/test/controller/routing_test.rb, line 1251
def initialize(routes)
  self.routes = routes
end
Instance Public methods
url_for(options)
# File rails/actionpack/test/controller/routing_test.rb, line 1255
def url_for(options)
  only_path = options.delete(:only_path)
  path = routes.generate(options)
  only_path ? path : "http://named.route.test#{path}"
end