Hi,

#  I've been trying this morning to dynamically
#  instantiate an object through the use of a String that
#  represents the name of the class.
#  
#  I am looking at doing something similar to Javas:
#  
#  Class.forName("Foo").newInstance()

class A
  def hello
    "hello"
  end
end
klassStr="A"

Klass=ObjectSpace.const_get(klassStr)
# or a little riskier:
# Klass=eval("#{klassStr}")

Klass.new.hello.display # -> hello


--
Dennis