Class: Consequence::Nothing
- Defined in:
- lib/consequence/something.rb
Instance Attribute Summary
Attributes inherited from Monad
Instance Method Summary collapse
Methods inherited from NullMonad
Methods inherited from Monad
#<<, #==, #>>, [], #initialize, #inspect, #to_s
Constructor Details
This class inherits a constructor from Consequence::Monad
Instance Method Details
#nil? ⇒ Boolean
12 |
# File 'lib/consequence/something.rb', line 12 def nil?; true end |