Module: Mongoid::Extensions::Hash::ClassMethods
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Extended In:
| |
Defined in: | lib/mongoid/extensions/hash.rb |
Instance Attribute Summary
-
#resizable? ⇒ true
readonly
Can the size of this object change?
Instance Method Summary
-
#mongoize(object) ⇒ Hash | nil
Turn the object from the ruby type we deal with to a Mongo friendly type.
Instance Attribute Details
#resizable? ⇒ true
(readonly)
Can the size of this object change?
# File 'lib/mongoid/extensions/hash.rb', line 139
def resizable? true end
Instance Method Details
#mongoize(object) ⇒ Hash | nil
Turn the object from the ruby type we deal with to a Mongo friendly type.