On Fri, 20 Apr 2001, brucedickey wrote:

> It's built-in:
>
>
>   	include FileTest
>
> 	if FileTest.exists?(myFile)

My version of ri gives me garbage for FileTest. I guess I should upgrade
it.

Jim

>
>
> --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
> > =========================================================
> >
>


=========================================================
Jim Freeze
jim / freeze.org
---------------------------------------------------------
No comment at this time.
http://www.freeze.org
=========================================================