From: Ari Brown Date: 2007-04-30T11:22:34+09:00 Subject: Re: Class Level Variables On Apr 29, 2007, at 9:03 PM, Gregory Brown wrote: > Please don't do this. That assignment would happen every time you > create an instance of the object, which completely defeats the purpose > of class level variables. (Whether you use class instance variables or > class variables). So use @@foo for general ideas (like @@foo = {} and when used in some file.open(path, 'r') do ..... command) and @foo for variables that hold specific values? Got it. P.S. = Is there some site that has a bunch of secrets that everyone (but me) knows in making your Ruby code look like Ruby? ~ Ari English is like a pseudo-random number generator - there are a bajillion rules to it, but nobody cares.