From: Robert Klemme Date: 2004-11-10T17:28:31+09:00 Subject: Re: evals confusion "Florian Gross" schrieb im Newsbeitrag news:2vcgefF2ipojmU1@uni-berlin.de... > 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. Ah, yes, you're right. Sorry for the noise. robert