From: Rick DeNatale Date: 2006-08-06T14:01:07+09:00 Subject: Re: Inheritance with class-variables On 8/5/06, Trans wrote: > > I think this behavior has changed for 1.9. Has the behavior (i.e. class variables are shared between classes and their subclasses) changed, or just the access control to the variables. In 1.8 class variables can be accessed anywhere in the containing module or class. The pickaxe says that 1.9 will make them private to the class which contains them, but that still means that they are accessible to subclasses. The distinction between class variables, and class instance variables is shared with, and perhaps inspired by Smalltalk by the way. -- Rick DeNatale