On Aug 27, 2006, at 9:54 PM, Timothy Hunter wrote: > Logan Capaldo wrote: >> >> #constants is getting the constants directly. (What you want is >> the values of the constants.) AFAIK there is no built in way to do >> this. The code isn't terribly long though anyway is it? >> >> class Module >> def constant_values >> constants.map { |constant| const_get(constant) } >> end >> end >> >> > > ri says that Module#constants returns an array of constant names. > For some reason this reminds me of this bit of _Alice Through the > Looking Glass_, where Alice is talking to the Knight, > > [snip brilliant through the looking glass quote] To which I reply: 'When I use a word,' Humpty Dumpty said in rather a scornful tone, 'it means just what I choose it to mean -- neither more nor less.' 'The question is,' said Alice, 'whether you can make words mean so many different things.' 'The question is,' said Humpty Dumpty, 'which is to be master -- that's all.'