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/ascend-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: self comment: - !ruby/struct:SM::Flow::P body: Iterates over and yields a new Pathname object for each element in the given path in ascending order. - !ruby/struct:SM::Flow::VERB body: " Pathname.new('/path/to/some/file.rb').ascend {|v| p v}\n #<Pathname:/path/to/some/file.rb>\n #<Pathname:/path/to/some>\n #<Pathname:/path/to>\n #<Pathname:/path>\n #<Pathname:/>\n\n Pathname.new('path/to/some/file.rb').ascend {|v| p v}\n #<Pathname:path/to/some/file.rb>\n #<Pathname:path/to/some>\n #<Pathname:path/to>\n #<Pathname:path>\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#ascend is_singleton: false name: ascend params: () {|self| ...} visibility: public