route_to(oth)
public
Args
Description
Calculates relative path to oth from self
Usage
require 'uri'
uri = URI.parse('http://my.example.com')
p uri.route_to('http://my.example.com/main.rbx?page=1')
Show source
def route_to(oth)
parser.send(:convert_to_uri, oth).route_from(self)
end