Method: Concurrent::Maybe#nothing?
- Defined in:
- lib/concurrent-ruby/concurrent/maybe.rb
#nothing? ⇒ Boolean Also known as: rejected?
Is this ‘Maybe` a `nothing` (rejected with an exception upon fulfillment)?
184 185 186 |
# File 'lib/concurrent-ruby/concurrent/maybe.rb', line 184 def nothing? @nothing != NONE end |