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
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
Dir
/
//opt/alt/ruby21/share/ri/2.1.0/system/Dir/open-c.ri
U:RDoc::AnyMethod[iI" open:ETI"Dir::open;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"OThe optional <i>enc</i> argument specifies the encoding of the directory. ;TI"7If not specified, the filesystem encoding is used.;To:RDoc::Markup::BlankLine o; ; [ I"7With no block, <code>open</code> is a synonym for ;TI"@<code>Dir::new</code>. If a block is present, it is passed ;TI"G<i>aDir</i> as a parameter. The directory is closed at the end of ;TI"Dthe block, and <code>Dir::open</code> returns the value of the ;TI"block.;T: @fileI" dir.c;T:0@omit_headings_from_table_of_contents_below0I"�Dir.open( string ) -> aDir Dir.open( string, encoding: enc ) -> aDir Dir.open( string ) {| aDir | block } -> anObject Dir.open( string, encoding: enc ) {| aDir | block } -> anObject ;T0[ I"(*args);T@FI"Dir;TcRDoc::NormalClass00