Module: Dry::Tuple
- Defined in:
- lib/dry/tuple.rb
Overview
The namespace contains mixins for class decoration with tuple type. The interfaces provide a way to use a tuple in constructors to match proper class by input. The behaviour is similar to the one provided by ‘Dry::Struct::ClassInterface` and allows to combine classes into sums but with positional input validation & coercion.
Defined Under Namespace
Modules: ClassDecorator, ClassInterface, HookExtendObject, StructClassInterface