Method: ActiveModel::Hints#as_json

Defined in:
lib/active_model/hints.rb

#as_json(options = nil) ⇒ Object

Returns an ActiveSupport::OrderedHash that can be used as the JSON representation for this object.



210
211
212
# File 'lib/active_model/hints.rb', line 210

def as_json(options=nil)
  to_hash
end