lib/dry/schema/macros/value.rb in dry-schema-0.6.0 vs lib/dry/schema/macros/value.rb in dry-schema-1.0.0
- old
+ new
@@ -5,10 +5,10 @@
module Dry
module Schema
module Macros
# A macro used for specifying predicates to be applied to values from a hash
#
- # @api public
+ # @api private
class Value < DSL
# @api private
def call(*predicates, **opts, &block)
schema = predicates.detect { |predicate| predicate.is_a?(Processor) }