mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
afa2732b78
commit
03581d5826
16 changed files with 308 additions and 159 deletions
|
@ -9,6 +9,7 @@
|
|||
|
||||
module Find
|
||||
def find(*path)
|
||||
path.collect!{|d| d.dup}
|
||||
while file = path.shift
|
||||
catch(:prune) do
|
||||
yield file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue