"Florian Gross" <flgr / ccan.de> 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