U:RDoc::AnyMethod[iI" open:ETI"Dir::open;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"OThe optional enc 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, open
is a synonym for ;TI"@Dir::new
. If a block is present, it is passed ;TI"GaDir as a parameter. The directory is closed at the end of ;TI"Dthe block, and Dir::open
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