D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Pathname
/
Filename :
find-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: p comment: - !ruby/struct:SM::Flow::P body: Pathname#find is an iterator to traverse a directory tree in a depth first manner. It yields a Pathname for each file under "this" directory. - !ruby/struct:SM::Flow::P body: Since it is implemented by <tt>find.rb</tt>, <tt>Find.prune</tt> can be used to control the traverse. - !ruby/struct:SM::Flow::P body: If <tt>self</tt> is <tt>.</tt>, yielded pathnames begin with a filename in the current directory, not <tt>./</tt>. full_name: Pathname#find is_singleton: false name: find params: () {|p| ...} visibility: public