From: matz@... (Yukihiro Matsumoto) Date: 2003-08-22T11:52:16+09:00 Subject: Re: Class variables - a surprising result Hi, In message "Re: Class variables - a surprising result" on 03/08/22, dblack@superlink.net writes: | |No, he's referring to this: | | class A | end | | class B < A | @@x = 1 | end | | class A | @@x = 2 | end | | class B | p @@x # prints 1, not 2 -- A and B are not sharing @@x | end Consider this oddity as a bug to be found in the future interpreter, not a feature. You get the warning already. matz.