>>>>> "M" == Markus Jais <info / mjais.de> writes:

M> cl  = Class.new("Eagle")  # does not work

   Eagle = Class.new # the argument to Class::new is the superclass


M> can this be done ? I want many classes to be created and the names come from 
M> config files or the command line

svg% ruby -e 'Object.const_set("Eagle", Class.new); p Eagle.class'
Class
svg% 



Guy Decoux