From: Jim Menard Date: 2001-08-07T00:00:36+09:00 Subject: [ruby-talk:19218] Re: symbols for global constants stephen.hill@motorola.com (Steve Hill) writes: > irb > factory ("String".intern, "hello") > NameError: undefined method `new' for :String:Symbol > ... > > Does anybody have any idea how to achieve this functionality? irb > factory(eval("String"), "hello") Jim -- Jim Menard, jimm@io.com, http://www.io.com/~jimm/ "What's a Superbowl? Does it save the city from ruin and destruction ON TOP OF containing some part of a complete breakfast?" -- J. on alt.fan.tom-servo