Class: NotMonads::Result
- Inherits:
-
Object
- Object
- NotMonads::Result
- Defined in:
- lib/not_monads/result.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#failure ⇒ Object
readonly
Returns the value of attribute failure.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
Instance Attribute Details
#failure ⇒ Object (readonly)
Returns the value of attribute failure.
5 6 7 |
# File 'lib/not_monads/result.rb', line 5 def failure @failure end |
#success ⇒ Object (readonly)
Returns the value of attribute success.
5 6 7 |
# File 'lib/not_monads/result.rb', line 5 def success @success end |