[SVN] Re: [PATCH] (Ruby) Patch for “Wrap in Begin … Rescue … End”

James Gray james at grayproductions.net
Sat Jan 17 16:03:45 UTC 2009


On Jan 17, 2009, at 8:31 AM, Martin Kühl wrote:

> Hi all,
>
> in some contexts (irbrc files, say) it seems common to catch
> exceptions without using them in the rescue block. This patch makes
> that a little easier by removing the " => " part of the rescue clause
> when the caught exception is unnamed.

Yeah, this is a good idea.  I've committed your patch.  Thanks.

James Edward Gray II


More information about the textmate-dev mailing list