From: Holden Glova Date: 2002-08-11T19:06:58+09:00 Subject: Re: To be a Module, or not to be... -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 11 Aug 2002 21:50, ts wrote: > >>>>> "T" == Tom Sawyer writes: > > T> i did not realize this either. what happens if you include more then one > T> module? > > It do the same, for example > > class A # A ==> Object ==> [Kernel] > include B # A ==> [B] ==> Object ==> [Kernel] > include C # A ==> [C] ==> [B] ==> Object ==> [Kernel] > include B # A ==> [C] ==> [B] ==> Object ==> [Kernel] > # not modified because it has found the proxy class [B] > > > Now with > > module C end > module B > include C > end > class A > include B # A ==> [B] ==> [C] ==> Object ==> [Kernel] > end > > > Guy Decoux Ok, with this nice illustration of how it works, I should definately call super from the intialize method i have in the module, no? - -- Signed, Holden Glova -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9Vjg60X8w8X71zPcRAvhHAJkBFTzd5Zh7o312gGo4SJVJt7auCwCfSBUs 8MFtqVs5zMutVwRkClyf3xg= =IYGT -----END PGP SIGNATURE-----