diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-09-21 10:08:57 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-09-21 10:08:57 +0000 |
commit | 36c02683d813ab86782fbc03923b2483696c68e9 (patch) | |
tree | a39a76034fd5f98839ddbc88feaf72e49f657d14 /lib | |
parent | 81de6b9d54bf4fe0f7a7bd6bfb98ebd45a6b140e (diff) | |
download | ruby-36c02683d813ab86782fbc03923b2483696c68e9.tar.gz ruby-36c02683d813ab86782fbc03923b2483696c68e9.tar.xz ruby-36c02683d813ab86782fbc03923b2483696c68e9.zip |
eban
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/find.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/find.rb b/lib/find.rb index a8dcea4f7..ce3e7068c 100644 --- a/lib/find.rb +++ b/lib/find.rb @@ -9,9 +9,11 @@ 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 |