From: Logan Capaldo Date: 2006-09-01T01:25:58+09:00 Subject: Re: Obtaining a reference to an enclosing class of a nested class On Aug 31, 2006, at 8:26 AM, Rick DeNatale wrote: > 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. > I was just pointing out ways something like that could possibly come to occur. > -- > Rick DeNatale > > My blog on Ruby > http://talklikeaduck.denhaven2.com/ >