Current Path : /usr/local/share/ri/1.8/system/URI/ |
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/split-c.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Synopsis - !ruby/struct:SM::Flow::VERB body: " URI::split(uri)\n" - !ruby/struct:SM::Flow::H level: 2 text: Args - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+uri+:" body: String with URI. type: :NOTE - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: "Splits the string on following parts and returns array with result:" - !ruby/struct:SM::Flow::VERB body: " * Scheme\n * Userinfo\n * Host\n * Port\n * Registry\n * Path\n * Opaque\n * Query\n * Fragment\n" - !ruby/struct:SM::Flow::H level: 2 text: Usage - !ruby/struct:SM::Flow::VERB body: " require 'uri'\n\n p URI.split("http://www.ruby-lang.org/")\n # => ["http", nil, "www.ruby-lang.org", nil, nil, "/", nil, nil, nil]\n" full_name: URI::split is_singleton: true name: split params: (uri) visibility: public