lib/dry/schema/processor.rb in dry-schema-1.8.0 vs lib/dry/schema/processor.rb in dry-schema-1.9.0
- old
+ new
@@ -121,10 +121,10 @@
# @return [String]
#
# @api public
def inspect
<<~STR.strip
- #<#{self.class.name} keys=#{key_map.map(&:dump)} rules=#{rules.map { |k, v| [k, v.to_s] }.to_h}>
+ #<#{self.class.name} keys=#{key_map.map(&:dump)} rules=#{rules.transform_values(&:to_s)}>
STR
end
# Return the key map
#