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
/
ruby27
/
share
/
ri
/
system
/
Dir
/
//opt/alt/ruby27/share/ri/system/Dir/each_child-c.ri
U:RDoc::AnyMethod[iI"each_child:ETI"Dir::each_child;TT:privateo:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"HCalls the block once for each entry except for "." and ".." in the ;TI"Hnamed directory, passing the filename of each entry as a parameter ;TI"to the block.;To:RDoc::Markup::BlankLine o; ; [I"=If no block is given, an enumerator is returned instead.;T@o:RDoc::Markup::Verbatim; [I"6Dir.each_child("testdir") {|x| puts "Got #{x}" } ;T:@format0o; ; [I"<em>produces:</em>;T@o;; [I"Got config.h ;TI"Got main.rb;T; 0: @fileI" dir.c;T:0@omit_headings_from_table_of_contents_below0I"0Dir.each_child( dirname ) {| filename | block } -> nil Dir.each_child( dirname, encoding: enc ) {| filename | block } -> nil Dir.each_child( dirname ) -> an_enumerator Dir.each_child( dirname, encoding: enc ) -> an_enumerator ;T0[ I"(*args);T@FI"Dir;TcRDoc::NormalClass00