D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Pathname
/
Filename :
each_filename-i.yaml
back
Copy
--- !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