From: ahoward Date: 2002-11-20T05:50:48+09:00 Subject: Re: Symbol usage help On Wed, 20 Nov 2002, Joel VanderWerf wrote: J> Instead of J> J> s.intern.value J> J> Try J> J> eval s J> J> or J> J> eval s.intern.to_s hmmm. this does work, but the string eval'd is actually dynamically generated from a cgi program - so i'd like to do it safely. i could do if Class === (klass = (eval s.intern)).type object = klass.new end and at least know it was a class - but i've already evaluated the string at this point... -a -- ==================================== | Ara Howard | NOAA Forecast Systems Laboratory | Information and Technology Services | Data Systems Group | R/FST 325 Broadway | Boulder, CO 80305-3328 | Email: ahoward@fsl.noaa.gov | Phone: 303-497-7238 | Fax: 303-497-7259 ====================================