class FalseClass

Public Instance Methods

==(other) click to toggle source
# File lib/unboolean/core_ext/false_class.rb, line 13
def ==(other)
  other.is_a?(Unboolean::Maybe) ? other == self : (!!other).is_a?(FalseClass)
end
^(other) click to toggle source
# File lib/unboolean/core_ext/false_class.rb, line 9
def ^(other)
  other.is_a?(Unboolean::Maybe) ? other ^ self : (!other).is_a?(FalseClass)
end
|(other) click to toggle source
# File lib/unboolean/core_ext/false_class.rb, line 5
def |(other)
  other.is_a?(Unboolean::Maybe) ? other | self : !!(other)
end