From: Lloyd Linklater Date: 2007-06-05T05:37:39+09:00 Subject: Re: Deleting a file - is there a less clumsy way to do this? Jamey Cribbs wrote: > You can get it down to one line by doing this: > > File.delete(filename) if File.exist?(filename) > > > That doesn't look so bad. :-) Very nice, Jamey! -- Posted via http://www.ruby-forum.com/.