From: "Mark J.Reed" Date: 2005-12-13T00:27:38+09:00 Subject: Re: String.to_sym? "robertj" writes: >hi, >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. And it's rather more efficient than the eval method you propose. irb(main):001:0> "somestring".intern => :somestring