From: Gregory Brown Date: 2007-01-06T03:09:42+09:00 Subject: Re: Class Variable Confusion On 12/21/06, dblack@wobblini.net wrote: > You had me at "I generally avoid class variables" :-) > > Here's another one you'll like: > > @@avar = 1 > class A > @@avar = "hello" > end > puts @@avar # => hello > > A.class_eval { puts @@avar } # => hello > > I love Ruby madly, but (or "therefore"? :-) I would be happy never to > see another class variable again. The confusingness-to-usefulness > ratio is extremely high. Wow David, that is scary.