irb
irb(main):001:0> File.exist?("foobar")
true
irb(main):002:0> File.exist?("foobar2")
false
irb(main):003:0> 
On Tuesday 20 November 2001 17:41, you wrote:
> I was wondering if somebody had an easy way of checking if a file exists on
> a filesystem without using begin/rescue. I might be making this too
> complicated on myself, but I can't seem to find any other way. I was hopign
> there was something like a "File.exists" or similar.
>
> Thanks,
>
> Ben

-- 
Armin.

-----------------------------------------------
Armin Roehrl, http://www.approximity.com
"The best way to predict the future is to invent it."
                                          --Alan Kay