From: Bill Guindon Date: 2006-04-12T01:28:13+09:00 Subject: Re: Best way to test for file existence? On 4/11/06, Wes Gamble wrote: > File.exist? > > Sorry to waste time. > > Wes Gamble wrote: > > All, > > > > What is the best way to determine the existence of a file (more > > specifically, a directory)? And since you're looking for directories, there's also: File.directory? > > Are there Perl - like file test operators available? > > > > Wes > > > -- > Posted via http://www.ruby-forum.com/. > > -- Bill Guindon (aka aGorilla) The best answer to most questions is "it depends".