require 'dry/schema/macros/dsl' module Dry module Schema module Macros # Macro used to specify predicates for each element of an array # # @api public class Each < DSL # @api private def to_ast(*) [:each, trace.to_ast] end alias_method :ast, :to_ast end end end end