Hi,
I try to understand more deeply what Ruby does.
Why here is the first line forbidden, the second allowed?
def f ; class C ; end ; end
def f ; eval "class C ; end", binding ; end
Thanks for your answers in advance.
Bertram
--
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de