From: Eric Hodel Date: 2006-05-19T03:15:28+09:00 Subject: Re: Rescue clauses on do/end blocks? On May 18, 2006, at 7:55 AM, Daniel Schierbeck wrote: > I know this has been on the table before, but I really see no > reason not to allow do/end blocks to have rescue clauses on them, i.e. > > foo do > bar > rescue > baz > end [...] > I'd like some feedback, and if its generally positive, I'll post an > RCR. Setting up and tearing down an exception handler for every block invocation is going to be expensive. I vote no. -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com