From: David Flanagan Date: 2009-05-14T07:10:03+09:00 Subject: Re: Superclass of eigenclass On May 11, 5:42 am, Danny O cuiv wrote: > Rick, Robert, > > Thanks again for your replies. > > Rick wrote: > > If you go in and look at the implementation, you'll find that the > >eigenclassof String has asuperclassslot which points to the > >eigenclassof Object, but thesuperclassmethod implementation skips > > past 'singleton' classes, until it gets to > > To me, that smacks of being ad hoc and inconsistent. Thesuperclass > method implementation skips past 'singleton' classes, until it gets to > #. But # is itself a 'singleton' class, so I > can't see the rationale there. In other words, I can't really grasp what > semantics are being exposed. The implementation details are leaking. No semantics should be read into this, I think. > I'd have to confess that this seems like a conceptual mess to me. I > presume that I'm grasping the wrong end of some stick or other. Can > anyone help point out what that might be? It is a conceptual mess. It seems somewhat clearer, however, with Ruby 1.9. > Regards, > > Danny > > -- > Posted viahttp://www.ruby-forum.com/.