2008/2/6 Radosw Bu„Šat <radek.bulat / gmail.com>: > > Did you try? Actually eigenclass is not up to date. Matz changed and > later rolled back many things. It works for me, so I guess it's one of > these things. > > $ ruby1.9 -v > ruby 1.9.0 (2008-01-14 revision 0) [i686-linux] > $ ruby1.9 -e "class A; @@a = 1; end; class B < A; @@a end" > It works in 1.8.6 for me: C:\>ruby -v ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32] C:\>ruby -e "class A; @@a=1; puts @@a; end; class B < A; puts @@a end" 1 1