Class: Success
- Inherits:
-
UseCaseFlow::Result
- Object
- UseCaseFlow::Result
- Success
- Defined in:
- lib/use_case_flow/result.rb
Instance Attribute Summary
Attributes inherited from UseCaseFlow::Result
Instance Method Summary collapse
-
#initialize(*args) ⇒ Success
constructor
A new instance of Success.
Methods inherited from UseCaseFlow::Result
#else, #else_fail!, #method_missing, #value, #values
Constructor Details
#initialize(*args) ⇒ Success
Returns a new instance of Success.
46 47 48 |
# File 'lib/use_case_flow/result.rb', line 46 def initialize(*args) super(:success, *args) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class UseCaseFlow::Result