Stephen Celis
9/22/2008 2:14:00 PM
[Note: parts of this message were removed to make it a legal post.]
Hi,
On Mon, Sep 22, 2008 at 8:02 AM, Trans <transfire@gmail.com> wrote:
>
>
> True, we can do this. And it sure is convenient, but this approach is
> generally frowned upon because it can cover-up actual errors. But in
> this case, maybe it's not significant? What do others think?
Some frown upon monkey-patching, some frown upon blind rescues, but the fact
that we have them at our side is nice.
In this case, everything will be re-raised by the symbol if
String#instance_method doesn't return something that can be sent "to_sym".
However, I agree with TPR, and that as far as maintainable code goes, things
should be manifest.
Stephen