Class: TrueClass
- Inherits:
-
Object
- Object
- TrueClass
- Defined in:
- lib/unboolean/core_ext/true_class.rb
Instance Method Summary collapse
Instance Method Details
#&(other) ⇒ Object
5 6 7 |
# File 'lib/unboolean/core_ext/true_class.rb', line 5 def &(other) other.is_a?(Unboolean::Maybe) ? other & self : !!(other) end |