File: //usr/share/ri/3.0.0/system/URI/open-c.ri
U:RDoc::AnyMethod[iI" open:ETI"URI::open;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"<Allows the opening of various resources including URIs.;To:RDoc::Markup::BlankLine o;
; [I"NIf the first argument responds to the 'open' method, 'open' is called on ;TI"'it with the rest of the arguments.;T@o;
; [I"cIf the first argument is a string that begins with <code>(protocol)://<code>, it is parsed by ;TI"EURI.parse. If the parsed object responds to the 'open' method, ;TI";'open' is called on it with the rest of the arguments.;T@o;
; [I"&Otherwise, Kernel#open is called.;T@o;
; [I"IOpenURI::OpenRead#open provides URI::HTTP#open, URI::HTTPS#open and ;TI" URI::FTP#open, Kernel#open.;T@o;
; [I"JWe can accept URIs and strings that begin with http://, https:// and ;TI"Qftp://. In these cases, the opened file object is extended by OpenURI::Meta.;T:
@fileI"lib/open-uri.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(name, *rest, &block);T@#TI"URI;TcRDoc::NormalModule00