Module: Mongoid::Extensions::TrueClass::Equality

Included in:
TrueClass
Defined in:
lib/mongoid/extensions/true_class/equality.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#is_a?(other) ⇒ Boolean

Returns:



6
7
8
9
# File 'lib/mongoid/extensions/true_class/equality.rb', line 6

def is_a?(other)
  return true if other.name == "Boolean"
  super(other)
end