Hello,
I am new to this list (and language) but I didn't find my answer from
the documentation available.
I simply would like to do something like:
myObject = class.fromName("a_class_name").new
I can do this in Java and Objective-C but didn't find how in Ruby.
The idea is to have some configuration files for an activity which
contain a class name to instantiate depending on the activity.
Many thanks (and sorry if this is an obvious question),
--
Alexander Lamb
Service d'Informatique MñÅicale
Hitaux Universitaires de Genï×e
Alexander.J.Lamb / sim.hcuge.ch
+41 22 372 88 62
+41 79 420 79 73