Methods

Class/Module Index [+]

Quicksearch

Mongoid::Extensions::Set

Public Instance Methods

mongoize() click to toggle source

Turn the object from the ruby type we deal with to a Mongo friendly type.

@example Mongoize the object.

set.mongoize

@return [ Hash ] The object mongoized.

@since 3.0.0

# File lib/mongoid/extensions/set.rb, line 14
def mongoize
  ::Set.mongoize(self)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.