Class: Mutant::Maybe::Nothing Private
- Inherits:
-
Mutant::Maybe
- Object
- Mutant::Maybe
- Mutant::Maybe::Nothing
- Defined in:
- lib/mutant/base.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#apply(&block) ⇒ Maybe::Nothing
private
Evaluate applicative block.
-
#fmap(&block) ⇒ Maybe::Nothing
private
Evaluate functor block.
Instance Method Details
#apply(&block) ⇒ Maybe::Nothing
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Evaluate applicative block
45 46 47 |
# File 'lib/mutant/base.rb', line 45 def apply(&block) require_block(&block) end |
#fmap(&block) ⇒ Maybe::Nothing
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Evaluate functor block
38 39 40 |
# File 'lib/mutant/base.rb', line 38 def fmap(&block) require_block(&block) end |