From: "Alexandru E. Ungur" Date: 2008-02-06T20:27:09+09:00 Subject: Re: Data for eigenclass >>> sender: "Thomas Wieczorek" date: "Wed, Feb 06, 2008 at 06:19:53PM +0900" << On Wed, Feb 6, 2008 at 10:05 AM, Jari Williamsson > wrote: > > > > The @@my_data syntax seems to attach only to the original class in which > > it was defined, not for any subclasses. And the @my_data syntax attach > > to each instance. > > > > I am not sure if I understand you. Class variables(@@bar) are > available for its children: No longer in Ruby 1.9 http://eigenclass.org/hiki/Changes+in+Ruby+1.9#l38 Cheers, Alex