--- !ruby/object:RDoc::RI::MethodDescription 
aliases: 
- !ruby/object:RDoc::RI::AliasName 
  name: "-"
block_params: 
comment: 
- !ruby/struct:RDoc::Markup::Flow::H 
  :level: 2
  :text: Args
- !ruby/object:RDoc::Markup::Flow::LIST 
  contents: 
  - !ruby/struct:RDoc::Markup::Flow::LI 
    :label: "+oth+:"
    :body: URI or String
  type: :NOTE
- !ruby/struct:RDoc::Markup::Flow::H 
  :level: 2
  :text: Description
- !ruby/struct:RDoc::Markup::Flow::P 
  :body: Calculates relative path from oth to self
- !ruby/struct:RDoc::Markup::Flow::H 
  :level: 2
  :text: Usage
- !ruby/struct:RDoc::Markup::Flow::VERB 
  :body: "  require 'uri'\n\n  uri = URI.parse('http://my.example.com/main.rbx?page=1')\n  p uri.route_from('http://my.example.com')\n  #=&gt; #&lt;URI::Generic:0x20218858 URL:/main.rbx?page=1&gt;\n"
full_name: URI::Generic#route_from
is_singleton: false
name: route_from
params: (oth)
visibility: public
