Current File : //proc/thread-self/root/proc/self/root/opt/alt/ruby18/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