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
/
IO
/
//opt/alt/ruby27/share/ri/system/IO/open-c.ri
U:RDoc::AnyMethod[iI" open:ETI" IO::open;TT:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"DWith no associated block, IO.open is a synonym for IO.new. If ;TI"Nthe optional code block is given, it will be passed +io+ as an argument, ;TI"Oand the IO object will automatically be closed when the block terminates. ;TI">In this instance, IO.open returns the value of the block.;To:RDoc::Markup::BlankLine o; ; [I"KSee IO.new for a description of the +fd+, +mode+ and +opt+ parameters.;T: @fileI" io.c;T:0@omit_headings_from_table_of_contents_below0I"lIO.open(fd, mode="r" [, opt]) -> io IO.open(fd, mode="r" [, opt]) {|io| block } -> obj ;T0[ I"(*args);T@FI"IO;TcRDoc::NormalClass00