From: Farrel Lifson Date: 2006-03-07T22:40:05+09:00 Subject: Re: Rescue on do end blocks Okay that kinda makes sense... kinda. On 3/7/06, Marcin Miel�y�ski wrote:> Farrel Lifson wrote:> > Is there some reason why it can't be made more elegant like it is> > currently for methods? Currently you can do this for methods:> >> > def test> > raise> > rescue> > puts "Error"> > end> >>> Because do/end is another form of { } (the difference is associativity)> and those are used to compose blocks.>> Imagine:>> sth.each{> raise> rescue> puts "Error"> }>> which doesnt make sense for me>> lopex>>