From: Rick DeNatale Date: 2006-08-31T21:26:16+09:00 Subject: Re: Obtaining a reference to an enclosing class of a nested class On 8/30/06, Joel VanderWerf wrote: > Rick DeNatale wrote: > > But module nesting is namespace nesting, so what does it mean to put a > > nameless object in a namespace? > > It's the other way around: a named object in an unnamed namespace, using > rb_define_module_under. Except that the OP said that BOTH were anonymous. Pasting from the original post: > I can't do this by symbol lookup since class A (and B for that matter) > are anonymous. -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/