From: Ben Schumacher Date: 2001-11-21T01:49:07+09:00 Subject: [ruby-talk:25921] FW: Checking if a file exists... Nevermind. Just found FileTest. Thanks. > -----Original Message----- > From: Ben Schumacher > Sent: Tuesday, November 20, 2001 9:44 AM > To: 'ruby-talk@ruby-lang.org' > Subject: Checking if a file exists... > > 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