From: Brian Candler Date: 2009-12-20T01:46:09+09:00 Subject: Re: special cased? Roger Pack wrote: > shouldn't @a just lookup @@a in the parent? Nope - class variables (@@) have nothing to do with instance variables (@). @a in this case is just an instance variable of the class object, so @a in class B is different to @a in class A Class variables are a very strange beast with bizarre semantics. I would avoid them if I were you. -- Posted via http://www.ruby-forum.com/.