From: 7stud -- Date: 2011-08-22T16:56:48+09:00 Subject: Re: Gritty Details of super() luke gruber wrote in post #1017749: > > In the example that Robert gave above, on line 22 >>22 p Test.superclass > > Right now it's Object, which I understand. But if we also include Mod, > wouldn't that make the superclass of Test some anonymous class that > proxies to Mod? > > But it doesn't... It's still Object. > Remember, the class ruby creates when you include a module is 'anonymous'. That means it has no name. As a result, superclass() doesn't list it. -- Posted via http://www.ruby-forum.com/.