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

     
class Symbol
  def rails_to_json(options = nil) #:nodoc:
    ActiveSupport::JSON.encode(to_s, options)
  end
end