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




                                    
class Symbol
  def to_json #:nodoc:
    ActiveSupport::JSON.encode(to_s)
  end
end