From: gwtmp01@... Date: 2006-10-19T12:24:05+09:00 Subject: Re: metaprogramming surprise? On Oct 17, 2006, at 2:02 PM, John W. Long wrote: > Jan Svitok wrote: >> There's a difference between class variables (@@x) and singleton >> class >> instance variables (self.class.@x). They are not the same thing. Class variables seem to trip up everyone learning Ruby, yet proficient Ruby programmers rarely seem to use them. Are they really worth the trouble? I've yet to feel the need to use them but maybe that is just me. Any chance that class variables will disappear in Ruby 2.0? I'm only half joking. Gary Wright