From: Sandro Paganotti Date: 2008-08-25T18:27:59+09:00 Subject: Re: Why NameError ?? ------=_Part_127406_23374738.1219656735863 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline it seems that the interpreter search for a 'A' class nested inside B ... I don't know why.. On Mon, Aug 25, 2008 at 8:54 AM, Kyung won Cheon wrote: > module M1 > class A > end > end > > module M2 > class A > end > p A # M2::A > class B > p A # M2::A > end > end > > module M3 > include M1 > p A # M1::A > class B > p A # NameError (M3::B::A) > end > end > > ############## > # Help Me^^ > ############## > -- > Posted via http://www.ruby-forum.com/. > > -- Go outside! The graphics are amazing! ------=_Part_127406_23374738.1219656735863--