From: nobu@... Date: 2005-12-13T00:34:30+09:00 Subject: Re: String.to_sym? Hi, At Tue, 13 Dec 2005 00:27:38 +0900, Mark J.Reed wrote in [ruby-talk:170247]: > >is there a String#to_sym method anywhere in the > >statndard lib? i couldnt find anything like that > >but maybe i missed it. > > It's called "intern", because Ruby internalizes the string into a symbol. String#to_sym is also an alias in 1.8 or later. -- Nobu Nakada