From: MenTaLguY Date: 2007-10-10T05:28:09+09:00 Subject: Re: Simple metaclass question On Wed, 10 Oct 2007 04:46:37 +0900, bob zee wrote: > Why last k.hello is "Hello from Klass" Not "Hello from Mod"? After > Klass mixin with Mod, I am extending k object to include Mod so k's > metaclass methods now point to Mod methods.. right? they should get > called first before Klass instance methods if I am thinking right. Ruby inheritance is linearized so that each module only appears once. Since Mod is already present in k's class ancestry, adding it again has no effect. -mental