Server IP : 111.118.215.189 / Your IP : 216.73.216.153 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /proc/thread-self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/IO/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
U:RDoc::AnyMethod[iI" open:ETI" IO::open;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"QWith no associated block, <code>IO.open</code> 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