class User
def method
var = "puts(@another_var)"
@another_var = 11
eval(var)
end
end
instance_eval(string [, filename [, lineno]] ) → obj
instance_eval {| | block } → obj
some_object.instance_eval do
instance_method(10)
end
some_object.instance_eval('instance_method(10)')