From: Kent Dahl Date: 2004-03-05T02:24:41+09:00 Subject: Re: rescue inside block -> syntax error gabriele renzi wrote: > il Thu, 04 Mar 2004 16:00:16 +0100, Simon Strandgaard > ha scritto:: >>Sorry if it wasn't clear.. I wanted to express that it would >>be really nice if 'rescue' and 'ensure' could be used within >>do..end blocks. >> >>wrapping things in begin..end feels superfluous ;-) > > > +1, and IIRC that rcr just felt in some limbo.. What was wrong with it > ? For starters, it would start drifting do..end blocks and {..} blocks apart, unless you'd allow it in those too. {|this| this.will ensure self.gag other_who_like_curly_braces.gag } -- (\[ Kent Dahl ]/)_ _~_ _____[ http://www.pvv.org/~kentda/ ]_____/~ ))\_student_/(( \__d L b__/ Master of Science in Technology ) ( \__\_�|�_/__/ ) _) Industrial economics and technology management ( \____/_�_\____/ (____engineering.discipline_=_Computer::Technology___)