Forum: Ruby Re: Dumb reflection problem - create object from String

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
TRANS (Guest)
on 2006-04-10 01:03
(Received via mailing list)
require 'facet/kernel/constant'

  myExampleClassInstance = constant('MyExampleClass').new

T.
This topic is locked and can not be replied to.