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
2 3 4 |
# File 'lib/deterministic/maybe.rb', line 2 def none? false end |
#some? ⇒ Boolean
6 7 8 |
# File 'lib/deterministic/maybe.rb', line 6 def some? true end |