관리-도구
편집 파일: route_from-i.yaml
--- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: "-" block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Args - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+oth+:" body: URI or String type: :NOTE - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: Calculates relative path from oth to self - !ruby/struct:SM::Flow::H level: 2 text: Usage - !ruby/struct:SM::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 #=> #<URI::Generic:0x20218858 URL:/main.rbx?page=1>\n" full_name: URI::Generic#route_from is_singleton: false name: route_from params: (oth) visibility: public