Module: Mongoid::Extensions::Set
Relationships & Source Files | |
Namespace Children | |
Modules:
| |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Defined in: | lib/mongoid/extensions/set.rb |
Overview
Adds type-casting behavior to Set
class.
Instance Attribute Summary
-
#resizable? ⇒ true
readonly
Returns whether the object’s size can be changed.
Instance Method Summary
-
#mongoize ⇒ Array | nil
Turn the object from the ruby type we deal with to a Mongo friendly type.
Instance Attribute Details
#resizable? ⇒ true
(readonly)
Returns whether the object’s size can be changed.
# File 'lib/mongoid/extensions/set.rb', line 26
def resizable? true end
Instance Method Details
#mongoize ⇒ Array | nil
Turn the object from the ruby type we deal with to a Mongo friendly type.