Class: Dry::Types::Result::Success
- Inherits:
-
Dry::Types::Result
- Object
- Dry::Types::Result
- Dry::Types::Result::Success
- Defined in:
- lib/dry/types/result.rb
Overview
Success result
Instance Attribute Summary
Attributes inherited from Dry::Types::Result
Instance Method Summary collapse
Methods inherited from Dry::Types::Result
Constructor Details
This class inherits a constructor from Dry::Types::Result
Instance Method Details
#failure? ⇒ false
35 36 37 |
# File 'lib/dry/types/result.rb', line 35 def failure? false end |
#success? ⇒ true
28 29 30 |
# File 'lib/dry/types/result.rb', line 28 def success? true end |