Adds equality hooks for false values.
Is the passed value a boolean?
@example Is the value a boolean type?
false.is_a?(Boolean)
@param [ Class ] other The class to check.
@return [ true, false ] If the other is a boolean.
@since 1.0.0
# File lib/mongoid/extensions/false_class/equality.rb, line 18 def is_a?(other) return true if other.name == "Boolean" super(other) end
Generated with the Darkfish Rdoc Generator 2.