lib/dry/initializer/config.rb in dry-initializer-2.3.0 vs lib/dry/initializer/config.rb in dry-initializer-2.4.0

- old
+ new

@@ -133,10 +133,10 @@ @definitions = {} finalize end def add_definition(option, name, type, opts) - definition = Definition.new(option, null, name, type, opts) + definition = Definition.new(option, null, name, type, Dispatchers[opts]) definitions[definition.source] = definition finalize mixin.class_eval definition.code end