Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Pathname/find-i.yaml |
--- !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