From: Tim Hunter Date: 2007-05-06T06:15:10+09:00 Subject: Re: How can I output an object/variable's name? John Joyce wrote: > Suppose I have an object : > > a = 3 > > I want to output the name a and the contents 3 > Outputing the contents is no problem. > Is there a method to output the name of the variable (object) > There's no way to do this in general. Why don't you describe what you're trying to do? Maybe somebody can suggest an alternative. -- RMagick [http://rmagick.rubyforge.org] RMagick Installation FAQ [http://rmagick.rubyforge.org/install-faq.html]