aboutsummaryrefslogblamecommitdiffstats
path: root/activesupport/lib/active_support/json/encoders/symbol.rb
blob: 485112f97cff0830fca8b18d01454708234d1c9b (plain) (tree)
1
2
3
4
5
            

                                             

     
class Symbol
  def to_json(options = {}) #:nodoc:
    ActiveSupport::JSON.encode(to_s, options)
  end
end