Subject: Re: Poll on Eval in Ruby.
From: lith <minilith gmail.com>
Date: Sat, 10 Oct 2009 14:10:13 +0900
References: 347970
> If you want to contribute few seconds, the poll is
> on my blog, on the top of the right column.
Are we talking about
a = 'foo'
b = 'a + "bar"'
eval "'yummy ' + #{b} * 2"
or about
class A
def initialize
@x = "foo"
end
end
A.new.instance_eval {@x}