Class: Dry::Monads::Maybe
- Inherits:
-
Object
- Object
- Dry::Monads::Maybe
- Defined in:
- lib/dry/monads/maybe.rb
Defined Under Namespace
Modules: Mixin Classes: None, Some
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#==(other) ⇒ Object
12 13 14 |
# File 'lib/dry/monads/maybe.rb', line 12 def ==(other) other.is_a?(Maybe) && value == other.value end |