method
select
v1_9_3_125 -
Show latest stable
- Class:
URI::Generic
select(*components)public
Args
components |
Description
Selects specified components from URI
Usage
require 'uri' uri = URI.parse('http://myuser:[email protected]/test.rbx') p uri.select(:userinfo, :host, :path) # => ["myuser:mypass", "my.example.com", "/test.rbx"]