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

Martin Kühl martin.kuehl at gmail.com
Sat Jan 17 14:31:36 UTC 2009


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.

Cheers,
Martin

Patch from pastie:
http://pastie.textmate.org/private/jcy6u2xwv2meynrpgaim4q
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastie-363244.diff
Type: application/octet-stream
Size: 694 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate-dev/attachments/20090117/7dce2a7c/attachment.diff>


More information about the textmate-dev mailing list