Roland Schmitt wrote:
> Hello,
>
> want to do the following:
>
> name = "input"
> clazz = "String"
> value = "test"
>
> <<<some magic here>>>
>
> puts(input) -> "test"
> input.class() -> String
>
>
> Thanks in advance,
>
> Roland

a pretty straight forward way is to just use the eval function on a
string

# in your insert magic here:
evs = "#{name} = #{clazz}.new( #{value} )"
eval( evs )