From: ts Date: 2001-11-21T02:59:01+09:00 Subject: [ruby-talk:25927] Re: Checking if a file exists... >>>>> "B" == Ben Schumacher writes: B> I was wondering if somebody had an easy way of checking if a file exists on B> a filesystem without using begin/rescue. I might be making this too B> complicated on myself, but I can't seem to find any other way. I was hopign B> there was something like a "File.exists" or similar. File#exists? pigeon% ruby -e 'p File.exists? "b.rb"' true pigeon% Guy Decoux