Class: Object
- Inherits:
- BasicObject
- Includes:
- Deterministic::CoreExt::Either
- Defined in:
- lib/deterministic/maybe.rb,
lib/deterministic/core_ext/object/either.rb
Instance Method Summary collapse
Methods included from Deterministic::CoreExt::Either
#attempt_all, #either?, #failure?, #success?
Instance Method Details
#none? ⇒ Boolean
27 28 29 |
# File 'lib/deterministic/maybe.rb', line 27 def none? false end |
#some? ⇒ Boolean
31 32 33 |
# File 'lib/deterministic/maybe.rb', line 31 def some? true end |