This (of course) works: class Abstract end class Outer end class Outer < Abstract end I think he wants this to work too: class Abstract end class Outer < Abstract end class Outer end That working would suprise me, personally. k "Yukihiro Matsumoto" <matz / ruby-lang.org> wrote in message news:1024411192.423217.7543.nullmailer / picachu.netlab.jp... > Hi, > > In message "problem with inner classes" > on 02/06/18, Francis Hwang <sera / fhwang.net> writes: > > |For example, if the outer class is: > | > | class OuterClass < AbstractOuterClass > | ... > | end > | > |and in InnerClass.rb I have: > | > | class OuterClass > | class InnerClass > | ... > | end > | end > | > |I get the following error: > | > | warning: already initialized constant OuterClass > > Which version of Ruby are you using? You will get no error on 1.6.7 > or 1.7.2 > > matz. >