Current Path : /usr/local/share/ri/1.8/system/Pathname/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/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