open(*rest, &block)
Instance Public methods
#open provides `open' for URI::HTTP and URI::FTP.
#open takes optional 3 arguments
as:
OpenURI::OpenRead#open([mode [, perm]] [, options]) [{|io| ... }]
#open returns an IO-like object
if block is not given. Otherwise it yields the IO
object and return the value of the block. The IO
object is extended with OpenURI::Meta.
mode and perm are the same as Kernel#open.
However, mode must be read mode because #open doesn't support write mod