1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2000-09-21 10:18:31 +00:00
parent ca13525d5d
commit 2549d8b2c6

View file

@ -9,11 +9,9 @@
module Find
def find(*path)
p ["find", path]
while file = path.shift
catch(:prune) {
yield file
p ["find", file]
if File.lstat(file).directory? then
d = Dir.open(file)
begin