From: Robert Klemme Date: 2008-10-23T16:24:05+09:00 Subject: Re: subclass a class in the namespace of the that subclass 2008/10/22 Trans : > Ever get stuck on a problem, and then after staring at it for way too > long, get disgusted b/c there is no way to do it the way you need to > do it, and none of the workable alternatives quite cut it? Well, > that's been my day. > > I know it may seem a bit off the wall. But I want to subclass a class > that is also defined in the namespace of the subclass. In other words: > > class X < Y > class Y > end > end Aren't you introducing a circular dependency here? I'd try to avoid that. These things cause all sorts of bad effects (e.g. headache for me). Even if it is possible if feels most awkward to me. Kind regards robert -- remember.guy do |as, often| as.you_can - without end