lib/dry/schema/macros/each.rb in dry-schema-0.6.0 vs lib/dry/schema/macros/each.rb in dry-schema-1.0.0

- old
+ new

@@ -5,10 +5,10 @@ module Dry module Schema module Macros # Macro used to specify predicates for each element of an array # - # @api public + # @api private class Each < DSL # @api private def value(*args, **opts) extract_type_spec(*args, set_type: false) do |*predicates, type_spec:| type(schema_dsl.array[type_spec]) if type_spec