6 lines
106 B
Ruby
6 lines
106 B
Ruby
|
class Symbol
|
||
|
def to_json(options = {}) #:nodoc:
|
||
|
ActiveSupport::JSON.encode(to_s, options)
|
||
|
end
|
||
|
end
|