From: Florian Gross Date: 2005-03-30T06:34:46+09:00 Subject: Re: attr :? Patrick Hurley wrote: > So does there exist (as I cannot find it) a way to access @@vars via > symbols in a similar manner? @vars tied to the class are easy enough > (and can often fill the same niche), but I cannot find a method > similar to instance_variable_XXX for @@ vars. No, probably because they are not supposed to be used too frequently. But using just instance_eval("@@" + name) is still better than evaling the whole method definition.