lib/dry/schema/macros/filled.rb in dry-schema-1.3.2 vs lib/dry/schema/macros/filled.rb in dry-schema-1.3.3
- old
+ new
@@ -8,15 +8,9 @@
module Macros
# Macro used to prepend `:filled?` predicate
#
# @api private
class Filled < Value
- # @!attribute [r] primitive_inferrer
- # PrimitiveInferrer used to get a list of primitive classes from configured type
- # @return [PrimitiveInferrer]
- # @api private
- option :primitive_inferrer, default: proc { PrimitiveInferrer.new }
-
# @api private
def call(*predicates, **opts, &block)
ensure_valid_predicates(predicates)
if opts[:type_spec] && !filter_empty_string?