rolo wrote: > Hi Moin! > Is use of singleton class a specification of ruby or it is implementation > choice? for example, we can define internal structure for objects in such a > way that it contains message table. I heavily assume that it's part of the language specification, because we have this syntax: obj = "foo" class << obj # everything in here is executed in the context of the singleton class def reverse; "bogus"; end end obj.reverse # => "bogus" > regards, > rolo More Regards, Florian Gross > "Best part of Ruby is its mailing list which Python does not have" Just one of the countless best parts of Ruby. ;)