Class: Dry::Data::SumType::Optional
- Inherits:
-
Dry::Data::SumType
- Object
- Dry::Data::SumType
- Dry::Data::SumType::Optional
- Defined in:
- lib/dry/data/sum_type.rb
Instance Attribute Summary
Attributes inherited from Dry::Data::SumType
Instance Method Summary collapse
- #call(input) ⇒ Object (also: #[])
Methods inherited from Dry::Data::SumType
Constructor Details
This class inherits a constructor from Dry::Data::SumType
Instance Method Details
#call(input) ⇒ Object Also known as: []
21 22 23 |
# File 'lib/dry/data/sum_type.rb', line 21 def call(input) Maybe(super(input)) end |