From: Gavin Kistner Date: 2006-12-21T00:08:48+09:00 Subject: Re: ICLASS Node? On Dec 20, 2006, at 5:12 AM, Julien Gaugaz wrote: > I'm a newbie so take my answer with care. I read in The Ruby Way > from Hal Fulton (2nd ed) that when a module MyMod is mixed in a > class MyClass, the module is actually inserted as a *direct* > superclass of MyClass. So that if you define > > class MyClass < MySuper > include MyMod > end > > Then at instantiation of MyClass you will actually have MyClass < > MyMod and MyMod < MySuper. This is correct, as far as I know. See note 4 on: http://phrogz.net/RubyLibs/RubyMethodLookupFlow.png