[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Working with classname that is stored in a string

Sebastian Hungerecker

8/13/2007 8:57:00 PM

Glen Holcomb wrote:

> The problem is this, I have no idea how to get Ruby to treat the string I
> pass as a classname. I did some searching and didn't find anything that
> looked like it would solve my problem.

I believe you are looking for const_get.

HTH,
Sebastian
--
Jabber: sepp2k@jabber.org
ICQ: 205544826