Class: FalseClass
- Inherits:
-
Object
- Object
- FalseClass
- Defined in:
- lib/unboolean/core_ext/false_class.rb
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object
13 14 15 |
# 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) ⇒ Object
9 10 11 |
# File 'lib/unboolean/core_ext/false_class.rb', line 9 def ^(other) other.is_a?(Unboolean::Maybe) ? other ^ self : (!other).is_a?(FalseClass) end |