Class: Consequence::NullMonad

Inherits:
Monad show all
Defined in:
lib/consequence/monad.rb

Direct Known Subclasses

Failure, Nothing

Instance Attribute Summary

Attributes inherited from Monad

#value

Instance Method Summary collapse

Methods inherited from Monad

#==, [], inherited, #initialize, #inspect, #to_s

Constructor Details

This class inherits a constructor from Consequence::Monad

Instance Method Details

#<<(_) ⇒ Object



69
# File 'lib/consequence/monad.rb', line 69

def <<(_); self end

#>>(_) ⇒ Object



68
# File 'lib/consequence/monad.rb', line 68

def >>(_); self end