From: Paul Brannan Date: 2002-04-12T01:27:40+09:00 Subject: Re: Is eval a code/design smell? On Fri, Apr 12, 2002 at 01:21:39AM +0900, Sean Middleditch wrote: > Hmm, odd. Everything in Ruby is a class... so a variable is a class, > too, right? Shouldn't there be a method for the variable class to > retrieve its value without eval()'ing it? I don't play much with > referenced variables. ^,^ Everything is an Object, not a Class :) AFAIK, there is no such interface in Ruby. It is trivial to write an extension to do this. Paul