Current Path : /opt/alt/ruby18/share/ri/1.8/system/Pathname/ |
Current File : //opt/alt/ruby18/share/ri/1.8/system/Pathname/each_filename-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: filename comment: - !ruby/struct:SM::Flow::P body: Iterates over each component of the path. - !ruby/struct:SM::Flow::VERB body: " Pathname.new("/usr/bin/ruby").each_filename {|filename| ... }\n # yields "usr", "bin", and "ruby".\n" full_name: Pathname#each_filename is_singleton: false name: each_filename params: ( {|filename| ...} visibility: public