From: Fritz Heinrichmeyer Date: 2001-10-24T21:11:36+09:00 Subject: [ruby-talk:23183] class variables and inheritance For my purpose @@variables where useless as the version defined in the last subclass mentioned emerges in other classes to. I found out that Class constants work right, i access them with self.class::Exampleconstat to have "virtual" constants where i need them, but this is ugly. Is there something more elegant? -- Fritz Heinrichmeyer mailto:fritz.heinrichmeyer@fernuni-hagen.de FernUniversitaet Hagen, LG ES, 58084 Hagen (Germany) tel:+49 2331/987-1166 fax:987-355 http://www-es.fernuni-hagen.de/~jfh