From: "Marcin Mielżyński" Date: 2006-03-07T22:33:41+09:00 Subject: Re: Rescue on do end blocks 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