class Addressable::URI

def route_to(uri)

Returns:
  • (Addressable::URI) -

Parameters:
  • uri (String, Addressable::URI, #to_str) -- The URI to route to.
def route_to(uri)
  return URI.parse(uri).route_from(self)
end