C
Clash Fasn
I'm trying to do dynamic object creation in ruby.
This works:
john = eval("Master:
erson").new("John")
This fails:
frank = Object.const_get("Master:
erson").new("Frank")
Does anyone know why the second way fails?
This works:
john = eval("Master:
This fails:
frank = Object.const_get("Master:
Does anyone know why the second way fails?