diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-04-22 08:55:40 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-04-22 08:55:40 +0000 |
commit | 089d61b4247f5e7e95bfa7dd3c0daa6cbe45fe92 (patch) | |
tree | 0caaa764178837e0a69c23ed184d511aac7fae31 /lib/find.rb | |
parent | 42e7ea3f1b5343a01e7dcb0a546a153913be72c2 (diff) |
find.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/find.rb')
-rw-r--r-- | lib/find.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/find.rb b/lib/find.rb index 5ecc54329c..7a6dbce17a 100644 --- a/lib/find.rb +++ b/lib/find.rb @@ -12,7 +12,7 @@ module Find while file = path.shift catch(:prune) { yield file - if File.directory? file and not File.symlink? file then + if File.directory? file then d = Dir.open(file) begin for f in d |