method
route_from
route_from(oth)
public
Args
oth |
Description
Calculates relative path from oth to self
Usage
require 'uri' uri = URI.parse('http://my.example.com/main.rbx?page=1') p uri.route_from('http://my.example.com') #=> #<URI::Generic:0x20218858 URL:/main.rbx?page=1>