Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
URI
/
//opt/alt/ruby27/share/ri/system/URI/open-c.ri
U:RDoc::AnyMethod[iI" open:ETI"URI::open;TT:privateo: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@#FI"URI;TcRDoc::NormalModule00