It's built-in:


  	include FileTest
    
	if FileTest.exists?(myFile)


--Bruce


> -----Original Message-----
> From: Jim Freeze [mailto:jim / freeze.org]
> Sent: Thursday, April 19, 2001 2:04 PM
> To: ruby-talk / ruby-lang.org
> Subject: [ruby-talk:13884] File exist?
> 
> 
> How do I check for a file's existense via ruby without using 
> exceptions?
> 
> Thanks
> 
> 
> =========================================================
> Jim Freeze
> jim / freeze.org
> ---------------------------------------------------------
> No comment at this time.
> http://www.freeze.org
> =========================================================
>