File: //usr/share/ri/3.0.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