robertj wrote:
> hi,
>
> obviously its there IF you try to call it.
> prblem on my side was that i looked in the docs
> http://www.ruby-doc.org/docs/ProgrammingRuby/
> and there is no mention of #to_sym anywhere
> so i thought its no available.
> my fault :-)

I see. FYI for the future. The best place to check first is always
using ri:

  $ ri to_sym

More than one method matched your request. You can refine
your search by asking for information on one of:

     Fixnum#to_sym, String#to_sym, Symbol#to_sym

  $ ri String#to_sym

....

T.