module Mongoid::Extensions::Set
Public Instance Methods
Source
# File lib/mongoid/extensions/set.rb, line 17 def mongoize ::Set.mongoize(self) end
Turn the object from the ruby type we deal with to a Mongo friendly type.
@example Mongoize the object.
set.mongoize
@return [ Array
] The object mongoized.
@since 3.0.0