L
lopex
Hi,
I'm wondering why the following code works:
class X
end
x=X.new
a="some variable"
p x.instance_eval("a")
x.instance_eval{p a}
why the x object knows the a variable ?
TIA
Marcin Mielzynski
I'm wondering why the following code works:
class X
end
x=X.new
a="some variable"
p x.instance_eval("a")
x.instance_eval{p a}
why the x object knows the a variable ?
TIA
Marcin Mielzynski