From: Matthias Veit Date: 2002-07-16T09:00:06+09:00 Subject: Re: cut & paste for code >>>> JV == Joel VanderWerf wrote: JV> Does this work for you? JV> JV> module MA JV> end JV> module MB JV> def a JV> return type::A.new JV> end JV> end JV> JV> module R JV> class A JV> include MA JV> end JV> class B JV> A = R::A JV> include MB JV> end JV> end JV> JV> module T JV> class A JV> include MA JV> end JV> class B JV> A = T::A JV> include MB JV> end JV> end JV> JV> p R::B.new.a.type # prints: R::A JV> JV> p T::B.new.a.type # prints: T::A Wow !! - solving the dependency explicitely is a good idea. I have to figure out, if this is the way to do. Thank you for now, Matthias __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.comm