From: Evan Phoenix Date: 2010-01-07T13:58:55+09:00 Subject: [ruby-core:27467] Re: [Feature #1082] add Object#singleton_class method On Jan 4, 2010, at 10:52 AM, Kornelius Kalnbach wrote: > On 04.01.10 17:28, Haase, Konstantin wrote: >> +1 for metaclass, as is it compatible with ActiveSupport, Rubinius >> and _why. > > The current methods are all named singleton_*, so anything else than > singleton_class would be inconsistent. > > ActiveSupport can (and will) still implement metaclass. And I didn't > know Rubinius was having its own Ruby language. Compatibility with > _why's metaid can be installed as a gem. Rubinius has a #metaclass method because we commonly need to access the metaclass to implement functionality in Ruby. If an official name is adopted, we're fine changing to it. - Evan > >> Also, it confuses people with a Python background. > Is that a plus? A metaclass are just the class of a class. I think _why > didn't pick the best name. > > "Eigenclass" still sounds like a mathematician's joke to me ;) > > [murphy] > >