Class: Dry::Types::Result
- Inherits:
-
Object
- Object
- Dry::Types::Result
- Defined in:
- lib/dry/types/result.rb
Defined Under Namespace
Instance Attribute Summary collapse
- #input ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(input) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(input) ⇒ Result
Returns a new instance of Result.
12 13 14 |
# File 'lib/dry/types/result.rb', line 12 def initialize(input) @input = input end |
Instance Attribute Details
#input ⇒ Object (readonly)
9 10 11 |
# File 'lib/dry/types/result.rb', line 9 def input @input end |