AlkantarClanX12
Current Path : /opt/alt/ruby18/share/ri/1.8/system/Pathname/ |
Current File : //opt/alt/ruby18/share/ri/1.8/system/Pathname/descend-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: v comment: - !ruby/struct:SM::Flow::P body: Iterates over and yields a new Pathname object for each element in the given path in descending order. - !ruby/struct:SM::Flow::VERB body: " Pathname.new('/path/to/some/file.rb').descend {|v| p v}\n #<Pathname:/>\n #<Pathname:/path>\n #<Pathname:/path/to>\n #<Pathname:/path/to/some>\n #<Pathname:/path/to/some/file.rb>\n\n Pathname.new('path/to/some/file.rb').descend {|v| p v}\n #<Pathname:path>\n #<Pathname:path/to>\n #<Pathname:path/to/some>\n #<Pathname:path/to/some/file.rb>\n" - !ruby/struct:SM::Flow::P body: It doesn't access actual filesystem. - !ruby/struct:SM::Flow::P body: This method is available since 1.8.5. full_name: Pathname#descend is_singleton: false name: descend params: () {|v| ...} visibility: public