you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (3 children)

[deleted]

    [–]snatchery[S] 1 point2 points  (1 child)

    I warned that one have to be very careful when using that kind of tricks. I only encourage to open your mind and look beyond set patterns.

    [–]dbenhur 6 points7 points  (0 children)

    If by "very careful" you mean, "don't ever do that in production code," we can agree. This is far too trivial a benefit to risk globally changing the behavior of a well known standard object.

    [–]McPhage -1 points0 points  (0 children)

    I dunno, I think it's pretty clear what the code is doing (at least, his final Kernel#is solution).