method

URI

ruby latest stable - Class: Kernel
URI(uri)
public

Returns uri converted to a URI object.