From: Eric Hodel Date: 2006-12-08T07:34:11+09:00 Subject: Re: rescue and continue on next statement ? On Dec 7, 2006, at 04:10 , Zouplaz wrote: > Hello, I've seen there is a retry statement that rerun the entire > begin/end block which raised the exception... > > I wonder if there is a way to 'continue' (from the rescue block) > with the next statement following the one which raised the exception. File.delete "#{@fichier_destination_sql}.gz" rescue nil File.delete "#{@fichier_destination_tar}.tgz" rescue nil File.delete "/tmp/aboulafia-db-testdb_rbackup-uid1.gz" rescue nil File.delete "/tmp/aboulafia-rep-ror_anaema-uid1.tgz" rescue nil -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net I LIT YOUR GEM ON FIRE!