method

read

ruby latest stable - Class: OpenURI::OpenRead
read(options={})
public

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.