From: Hans Mackowiak Date: 2013-03-06T23:02:50+09:00 Subject: Re: Bignum-Fixnum-Numeric confusion Robert Klemme wrote in post #1100376: >> (c) "There is effectively only one Fixnum object instance for any given >> integer value, so, for example, you cannot add a singleton method to a >> `Fixnum`." - Couldn't understand the reason of not to add the >> `singleton` method with Fixnum object instances. > > I think the reasoning is flawed: the fact that there is only one > instance of every Fixnum does by no means prevent associating > singleton methods with the instance. For example, it's still possible > to store instance variables in a Fixnum instance: > i need to resay that this is not possible in 2.0 anymore ... so you dont should depend on it -- Posted via http://www.ruby-forum.com/.