From: Vasco Andrade e Silva Date: 2007-07-03T01:07:38+09:00 Subject: Re: Nested Mixin Problem(?) Hi, Axel Etzold wrote: > it seems like you wanted to include something before it is > defined. No. I wanted to use mixins for more than 'one level', as Alex Gutteridge explain it: >I think you've found an interesting edge case for modules and mixins. >Redefining a module only seems to work to one 'level'. So this works: > ... I didn't know that this "problem" was called "double inclusion" (thanks Robert) or "Dynamic Module Include Problem". After a quick search for "double inclusion" you get: http://eigenclass.org/hiki/The+double+inclusion+problem http://www.ruby-forum.com/topic/112897 If some Guru come along and see this thread maybe he/she could give a more indepth answer. Meanwhile... Thank you guys, Vasco -- Posted via http://www.ruby-forum.com/.