From: "Nicolas Desprès" Date: 2006-05-15T17:11:30+09:00 Subject: Re: Test if file exists On 5/15/06, Pieter Steyn wrote: > Hi, Hi, [...] > > How would I test if the arguments given (filename1 and 2) are actually files > that exist? > File.exists?(filename1) or require 'pathname' Pathname.new(filename1).exists? -- Nicolas Despr�s