| 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"
children:EFI"Pathname#children;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"JReturns the children of the directory (files and subdirectories, not ;TI"0recursive) as an array of Pathname objects.;To:RDoc::Markup::BlankLine o;
; [I"OBy default, the returned pathnames will have enough information to access ;TI"Jthe files. If you set +with_directory+ to +false+, then the returned ;TI".pathnames will contain the filename only.;T@o;
; [I"For example:;To:RDoc::Markup::Verbatim; [I"(pn = Pathname("/usr/lib/ruby/1.8")
;TI"pn.children
;TI"7 # -> [ Pathname:/usr/lib/ruby/1.8/English.rb,
;TI"3 Pathname:/usr/lib/ruby/1.8/Env.rb,
;TI"< Pathname:/usr/lib/ruby/1.8/abbrev.rb, ... ]
;TI"pn.children(false)
;TI"P # -> [ Pathname:English.rb, Pathname:Env.rb, Pathname:abbrev.rb, ... ]
;T:@format0o;
; [I"ENote that the results never contain the entries +.+ and +..+ in ;TI"1the directory because they are not children.;T:
@fileI"!ext/pathname/lib/pathname.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(with_directory=true);T@%FI"
Pathname;TcRDoc::NormalClass00