summaryrefslogtreecommitdiff
path: root/lib/find.rb
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-09-21 10:18:31 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-09-21 10:18:31 +0000
commit2549d8b2c65374deef129f091016aa3b48598fa2 (patch)
treeb0c81a84793c75863ede3d24e274af8f1d2201b4 /lib/find.rb
parentca13525d5d52113e1ba0bb1711ab17a5215466be (diff)
downloadruby-2549d8b2c65374deef129f091016aa3b48598fa2.tar.gz
eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/find.rb')
-rw-r--r--lib/find.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/find.rb b/lib/find.rb
index ce3e7068c3..a8dcea4f71 100644
--- a/lib/find.rb
+++ b/lib/find.rb
@@ -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