Methods

Class/Module Index [+]

Quicksearch

Mongoid::Extensions::Boolean::ClassMethods

Public Instance Methods

mongoize(object) click to toggle source

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

@example Mongoize the object.

Boolean.mongoize("123.11")

@return [ String ] The object mongoized.

@since 3.0.0

# File lib/mongoid/extensions/boolean.rb, line 15
def mongoize(object)
  evolve(object)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.