lib/dry/validation/rule.rb in dry-validation-1.1.1 vs lib/dry/validation/rule.rb in dry-validation-1.2.0
- old
+ new
@@ -91,9 +91,11 @@
failures.concat(evaluator.failures)
end
end
+ @block_options = map_keywords(block) if block
+
self
end
# Return a nice string representation
#