From: Alexis Reigel Date: 2006-01-28T21:47:11+09:00 Subject: Re: working with file types and directories > Thanks for that reply. I guess that the only way to check that files > are non-empty is to open them, read them and cound the lines, huh? --> FileTest.zero?("file") Returns true if file is of zero length. > On > Sat, 28 Jan 2006 14:56:21 +0900 Joel VanderWerf > wrote: > > >>Dir.foreach(".") {|x| puts File.ftype x } > >