From: gabriele renzi Date: 2004-03-08T23:54:39+09:00 Subject: Re: rescue inside block -> syntax error il Mon, 08 Mar 2004 00:04:24 +0100, Simon Strandgaard ha scritto:: > > >I located the lost RCR... its >RCR 105: Change do...end to support exception handling >http://rcrchive.net/rgarchive/rejected.html > >matz rejected it for the reason: >rescue etc in "do .. end" seem weird when a block consists a loop. > > It's not so weird to me, but maybe I did'nt understand. what's wrong with i.e. ary.each do |data| do stuff with data rescue puts 'an error occurred while doing stuff on '+data.to_s end seems, reasonable to me :)