Current File : //proc/thread-self/root/proc/self/root/opt/alt/ruby18/share/ri/1.8/system/URI/Generic/select-i.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::H
level: 2
text: Args
- !ruby/object:SM::Flow::LIST
contents:
- !ruby/struct:SM::Flow::LI
label: "+components+:"
body: Multiple Symbol arguments defined in URI::HTTP
type: :NOTE
- !ruby/struct:SM::Flow::H
level: 2
text: Description
- !ruby/struct:SM::Flow::P
body: Selects specified components from URI
- !ruby/struct:SM::Flow::H
level: 2
text: Usage
- !ruby/struct:SM::Flow::VERB
body: " require 'uri'\n\n uri = URI.parse('http://myuser:mypass@my.example.com/test.rbx')\n p uri.select(:userinfo, :host, :path)\n # => ["myuser:mypass", "my.example.com", "/test.rbx"]\n"
full_name: URI::Generic#select
is_singleton: false
name: select
params: (*components)
visibility: public