Module Mongoid::Extensions::TrueClass::Equality
In: lib/mongoid/extensions/true_class/equality.rb

Adds equality hooks for true values.

Methods

is_a?  

Public Instance methods

Is the passed value a boolean?

@example Is the value a boolean type?

  true.is_a?(Boolean)

@param [ Class ] other The class to check.

@return [ true, false ] If the other is a boolean.

@since 1.0.0

[Validate]