607
608
# OpenURI::OpenRead#open returns an IO like object if block is not given.
608
609
# Otherwise it yields the IO object and return the value of the block.
609
610
# The IO object is extended with OpenURI::Meta.
611
621
OpenURI.open_uri(self, *rest, &block)