method
as_json
v3.2.13 -
Show latest stable
- Class:
Object
as_json(options = nil)public
No documentation available.
# File activesupport/lib/active_support/json/encoding.rb, line 139
def as_json(options = nil) #:nodoc:
if respond_to?(:to_hash)
to_hash
else
instance_values
end
end