Grab Mail wrote:
> class Integer
> 
>   def to_s
>     '9'
>   end
> 
> end
> 
> puts 5.to_s
> 
> I'm still getting 5.

There's also the gotcha of redefining core methods - other core methods 
just might call directly their implementations in C without going 
through the interpreter.

Try not to rely on core method redefining unless you know you'll always 
be calling the redefined methods directly.

David Vallner