From: Tom Sawyer Date: 2003-01-09T22:33:18+09:00 Subject: Re: @@'s are not inherited? On Thursday 09 January 2003 06:21 am, ts wrote: > >>>>> "T" == Tom Sawyer writes: > > T> @@'s are inherited by subclasses IF they are pre-defined in the parent. > that's T> important to know and i did not see any mention of it in my > pick-axe. > > "Class variables must be initialized before use. [...] Class variables > belong to the innermost enclosing class or module" > > p. 214 my that was a fast reply with an exact quote. you know you pick-axe well! :) i did read that, but i don't think it clearly states the case for subclassing. it could just as well mean that class variables are only available to the class they're initialized in, a subclass thus having its own independent set. -- tom sawyer, aka transami transami@transami.net