From: Florian Gross Date: 2004-11-10T03:28:32+09:00 Subject: Re: evals confusion Robert Klemme wrote: >>>class name. I tried assigning it to a constant but get an error: >>> "dynamic constant assignment" >>Yup, via Object.const_set("Foo", Class.new). > Direct assignment works, too: From inside methods it only does when you wrap it inside the eval. I think the point was avoiding eval statements.