select(*components)
Instance Public methods
Args
Description
Selects specified components from URI
Usage
require 'uri' uri = URI.parse('http://myuser:mypass@my.example.com/test.rbx') p uri.select(:userinfo, :host, :path) # => ["myuser:mypass", "my.example.com", "/test.rbx"]
Please login to continue.