select(*components)
Instance Public methods
Args
Description
Selects specified components from URI
Usage
1 2 3 4 5 | require 'uri' p uri.select( :userinfo , :host , :path ) # => ["myuser:mypass", "my.example.com", "/test.rbx"] |
Selects specified components from URI
1 2 3 4 5 | require 'uri' p uri.select( :userinfo , :host , :path ) # => ["myuser:mypass", "my.example.com", "/test.rbx"] |
Designed by : w10schools
service@w10schools.com
Please login to continue.