From: Peter Marks Date: 2007-11-09T19:57:51+09:00 Subject: Re: Best way to test if a directory is empty pphetra wrote: > try this. > > if Dir["#{RAILS_ROOT}/documents/*"].empty? Ahh, didn't see the stars. Thanks pphetra :) -- Posted via http://www.ruby-forum.com/.