Class: Dry::Types::Result::Success
- Inherits:
-
Dry::Types::Result
- Object
- Dry::Types::Result
- Dry::Types::Result::Success
- Defined in:
- lib/dry/types/result.rb
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
23 24 25 |
# File 'lib/dry/types/result.rb', line 23 def failure? false end |
#success? ⇒ true
18 19 20 |
# File 'lib/dry/types/result.rb', line 18 def success? true end |