Class: NotMonads::Result
- Inherits:
-
Object
- Object
- NotMonads::Result
- Defined in:
- lib/not_monads/result.rb
Defined Under Namespace
Instance Method Summary collapse
-
#initialize(value) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(value) ⇒ Result
Returns a new instance of Result.
5 6 7 |
# File 'lib/not_monads/result.rb', line 5 def initialize(value) @value = value end |