Current Path : /usr/local/share/ri/1.8/system/URI/Generic/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/URI/Generic/merge-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: Merges two URI's. - !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")\n p uri.merge("/main.rbx?page=1")\n # => #<URI::HTTP:0x2021f3b0 URL:http://my.example.com/main.rbx?page=1>\n" full_name: URI::Generic#merge is_singleton: false name: merge params: (oth) visibility: public