Module: Monadic::SuccessFailure::ClassMethods

Defined in:
lib/monadic/either.rb

Instance Method Summary collapse

Instance Method Details

#unit(value) ⇒ Object


107
108
109
# File 'lib/monadic/either.rb', line 107

def unit(value)
  new(value)
end