Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
proc
/
thread-self
/
root
/
opt
/
ruby-2.7
/
usr
/
share
/
ri
/
2.7.0
/
system
/
IO
/
//proc/thread-self/root/proc/thread-self/root/opt/ruby-2.7/usr/share/ri/2.7.0/system/IO/open-c.ri
U:RDoc::AnyMethod[iI" open:ETI" IO::open;TT:publico: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