On Sat, Dec 08, 2001 at 01:29:52PM +0900, Mathieu Bouchard wrote: > 2. In Ruby, there is _no_ equivalent to SCALAR. In Ruby, variables are not > objects; in Perl they are fcv ("first-class value") Is that the reason why something like this cannot be done? class Integer def double! self = self * 2 end end SyntaxError: compile error Can't change the value of self (A delegate with @value as the Intenger would be a solution, but I wonder: is there any redefinition or inheritance way to do the above?) Massimiliano