From: Michael Neumann Date: 2001-07-21T20:43:48+09:00 Subject: [ruby-talk:18245] Re: Determining whether a file exists HarryO wrote: > Is there a clean way to determine whether a file exists, without having > to worry about possible exception conditions? > > If I were writing this in C/C++, I'd use something like > > if (access(path, 0) == 0) > > Is there one for Ruby? test(?e, name) -- Michael Neumann merlin.zwo InfoDesign GmbH http://www.merlin-zwo.de