Module Origin::Extensions::Boolean::ClassMethods
In: lib/origin/extensions/boolean.rb

Methods

evolve  

Public Instance methods

Evolve the value into a boolean value stored in MongoDB. Will return true for any of these values: true, t, yes, y, 1, 1.0.

@example Evolve the value to a boolean.

  Boolean.evolve(true)

@param [ Object ] The object to evolve.

@return [ true, false ] The boolean value.

@since 1.0.0

[Validate]