lib/dry/validation/schema/value.rb in dry-validation-0.10.2 vs lib/dry/validation/schema/value.rb in dry-validation-0.10.3

- old
+ new

@@ -163,10 +163,10 @@ [type, [name, input.to_ast]] end end def dyn_arg?(name) - schema_class.instance_methods.include?(name) + !name.to_s.end_with?('?') && schema_class.instance_methods.include?(name) end def respond_to?(name) self.class.public_methods.include?(name) end