查看网站首页
查看网站首页
查看 sitemap.xml
✏️ 正在编辑: ascend-i.yaml
路径:
/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
💾 保存文件
← 返回文件管理器