lib/dry/schema/key_coercer.rb in dry-schema-1.8.0 vs lib/dry/schema/key_coercer.rb in dry-schema-1.9.0
- old
+ new
@@ -15,11 +15,11 @@
TO_SYM = :to_sym.to_proc.freeze
attr_reader :key_map, :coercer
# @api private
- def self.new(*args, &coercer)
- fetch_or_store(*args, coercer) { super(*args, &coercer) }
+ def self.new(*args)
+ fetch_or_store(*args) { super }
end
# @api private
def self.symbolized(*args)
new(*args, &TO_SYM)