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
55 56 57 |
# File 'lib/deterministic/maybe.rb', line 55 def none? false end |
#some? ⇒ Boolean
59 60 61 |
# File 'lib/deterministic/maybe.rb', line 59 def some? true end |