| Server IP : 162.214.74.102 / Your IP : 216.73.217.46 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Pathname/ |
Upload File : |
U:RDoc::AnyMethod[iI"each_child:EFI"Pathname#each_child;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"1Iterates over the children of the directory ;TI"/(files and subdirectories, not recursive).;To:RDoc::Markup::BlankLine o;
; [I".It yields Pathname object for each child.;T@o;
; [I"NBy default, the yielded pathnames will have enough information to access ;TI"the files.;T@o;
; [I"NIf you set +with_directory+ to +false+, then the returned pathnames will ;TI"contain the filename only.;T@o:RDoc::Markup::Verbatim; [I"2Pathname("/usr/local").each_child {|f| p f }
;TI"&#=> #<Pathname:/usr/local/share>
;TI"$# #<Pathname:/usr/local/bin>
;TI"&# #<Pathname:/usr/local/games>
;TI"$# #<Pathname:/usr/local/lib>
;TI"(# #<Pathname:/usr/local/include>
;TI"%# #<Pathname:/usr/local/sbin>
;TI"$# #<Pathname:/usr/local/src>
;TI"$# #<Pathname:/usr/local/man>
;TI"
;TI"9Pathname("/usr/local").each_child(false) {|f| p f }
;TI"#=> #<Pathname:share>
;TI"# #<Pathname:bin>
;TI"# #<Pathname:games>
;TI"# #<Pathname:lib>
;TI"# #<Pathname:include>
;TI"# #<Pathname:sbin>
;TI"# #<Pathname:src>
;TI"# #<Pathname:man>
;T:@format0o;
; [I"ENote that the results never contain the entries +.+ and +..+ in ;TI"1the directory because they are not children.;T@o;
; [I"See Pathname#children;T:
@fileI"!ext/pathname/lib/pathname.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(with_directory=true, &b);T@7FI"
Pathname;TcRDoc::NormalClass00