From: matz@... (Yukihiro Matsumoto) Date: 2001-08-18T13:17:17+09:00 Subject: [ruby-talk:19965] Re: problem understanding class relationships Hi, In message "[ruby-talk:19960] problem understanding class relationships" on 01/08/18, Tobias Reif writes: |Thus all classes are in the same family |and thus @@ variables would be shared among all objects. | |Where am I erring? Like constants, class variables must be assigned at the class/module top level, and shared among its subclasses. class Foo @@foo = 43 # @@foo is assigned (declared) here. end class Bar