Source

RubyLearning / ProjectTrak / vendor / rails / activesupport / lib / active_support / json / encoders / symbol.rb

Full commit
1
2
3
4
5
class Symbol
  def to_json(options = {}) #:nodoc:
    ActiveSupport::JSON.encode(to_s, options)
  end
end