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
# File lib/mongoid/extensions/set.rb, line 15 def mongoize ::Set.mongoize(self) end