module Mongoid::Extensions::Hash::ClassMethods
Public Instance Methods
Source
# File lib/mongoid/extensions/hash.rb, line 246 def mongoize(object) return if object.nil? evolve(object.dup).update_values { |value| value.mongoize } end
Source
# File lib/mongoid/extensions/hash.rb, line 259 def resizable? true end
Can the size of this object change?
@example Is the hash resizable?
{}.resizable?
@return [ true ] true.
@since 3.0.0