method

to_s

v2_5_5 - Show latest stable - Class: Symbol
to_s()
public

Returns the name or string corresponding to sym.

:fred.id2name   #=> "fred"
:ginger.to_s    #=> "ginger"