From: "Pål Bergström" Date: 2006-07-15T04:19:13+09:00 Subject: Re: Don't understand :: in ActionController::Base unknown wrote: > The confusion arises when you assume that the names imply class/subclass > relationships. The hierarchy of *names* is 100% independent of the > hierarchy of classes. > class D < A::A1; end > class E < B::B1; end > class B::B1::B2 < A::A1; end > class A::A1::A2 < B::B1::B2; end > > From those definitions you get the following inheritance structure: > > Object + -- A --------- C > | > + -- A::A1 --+-- D > | | > | +-- B::B1::B2 -- A::A1::A2 > | > + -- B > | > + -- B::B1 ----- E Thanks. That helped. -- Posted via http://www.ruby-forum.com/.