From: Alexander Lamb Date: 2005-10-13T22:34:03+09:00 Subject: instance from class name? 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�dicale H�pitaux Universitaires de Gen�ve Alexander.J.Lamb@sim.hcuge.ch +41 22 372 88 62 +41 79 420 79 73