From: ts Date: 2001-10-24T22:19:52+09:00 Subject: [ruby-talk:23188] Re: class variables and inheritance >>>>> "F" == Fritz Heinrichmeyer writes: F> I found out that Class constants work right, i access them with F> self.class::Exampleconstat F> to have "virtual" constants where i need them, but this is ugly. Is there F> something more elegant? Well, not really more elegant but self.class is the same than type type::Exampleconstat Guy Decoux