Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library _builtin > class Symbol > inspect
inspect -> String
Returns the representation of sym as a symbol literal.
:fred.inspect #=> ":fred"