new(scheme, userinfo, host, port, registry, path, opaque, query, fragment, arg_check = false) public


scheme:Protocol scheme, i.e. ‘http’,’ftp’,’mailto’ and so on.
userinfo:User name and password, i.e. ‘sdmitry:bla’
host:Server host name
port:Server port
registry:DOC: FIXME!
path:Path on server
opaque:DOC: FIXME!
query:Query data
fragment:A part of URI after ‘#’ sign
arg_check:Check arguments [false by default]


Creates a new URI::Generic instance from ``generic’‘ components without check.

Show source
Register or log in to add new notes.