Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/active_support/json/encoding/active_support_encoder.rb

Instance Method Summary collapse

Instance Method Details

#encode_json(encoder) ⇒ Object

:nodoc:



126
127
128
# File 'lib/active_support/json/encoding/active_support_encoder.rb', line 126

def encode_json(encoder) #:nodoc:
  ActiveSupport::JSON::Encoding::ActiveSupportEncoder.escape(self)
end