Class: Confident::Result::Ok
- Inherits:
-
Confident::Result
- Object
- Confident::Result
- Confident::Result::Ok
- Defined in:
- lib/confident/result.rb
Constant Summary
Constants inherited from Confident::Result
DEFAULT_FAILURE_MESSAGE, DEFAULT_MISSING_ERROR_HANDLER_MESSAGE
Instance Method Summary collapse
Methods inherited from Confident::Result
error, from_condition, inherited, #initialize, ok, #on_error
Constructor Details
This class inherits a constructor from Confident::Result
Instance Method Details
#ok? ⇒ Boolean
48 49 50 |
# File 'lib/confident/result.rb', line 48 def ok? true end |
#unwrap ⇒ Object
52 53 54 55 |
# File 'lib/confident/result.rb', line 52 def unwrap super value end |