class Addressable::URI
def route_to(uri)
-
(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
(Addressable::URI)
-
uri
(String, Addressable::URI, #to_str
)
-- The URI to route to.
def route_to(uri) return URI.parse(uri).route_from(self) end