From: Brian Candler Date: 2010-08-02T22:07:00+09:00 Subject: Re: Iteration through File.file? misses entries for which File.file?(entry) == true Oh, and another hint: try things out in irb to find out what's happening. /$ irb --simple-prompt >> Dir.chdir("/") => 0 >> Dir.foreach("etc") { |x| puts x } . .. fstab X11 <> => nil >> -- Posted via http://www.ruby-forum.com/.