From: "Jesús Gabriel y Galán" Date: 2009-10-10T21:19:15+09:00 Subject: Re: Poll on Eval in Ruby. On Sat, Oct 10, 2009 at 7:10 AM, lith wrote: >> 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} I thought we were talking about all eval version (eval, instance_eval, class_eval, etc) so I answered the one that was "has it's place" or something like that. If we are talking exclusively about pure eval, I agree with David, I almost never use it. Jesus.