Ruby OpenURI::OpenRead Functions

EditRocket provides the following information on OpenURI::OpenRead functions in the Ruby source code builder.

open(*rest, &block) - OpenURI::OpenRead#open provides `open' for URI::HTTP and URI::FTP.

read(options={}) - OpenURI::OpenRead#read([options]) reads a content referenced by self and returns the content as string. The string is extended with OpenURI::Meta. The argument `options' is same as OpenURI::OpenRead#open.