From: Caio Tiago Oliveira Date: 2005-02-22T06:58:01+09:00 Subject: Re: destructive! operations Pit Capitain, 21/2/2005 17:04: > ES schrieb: > >> Wouldn't it be possible to override the TrueClass, NilClass >> and FalseClass methods to yield the correct behaviour for >> this object? I'm assuming 'if something' expands to >> 'if something == true' or something like that? > > > If you look at the Ruby source code (this is 1.8.2), in eval.c: It shouldn't be in C. Such things should be in Ruby. :( I don't know C, so I can't learn Ruby? So can't I know the behaviours of my changes?