lib/dry/schema/messages/yaml.rb in dry-schema-1.13.0 vs lib/dry/schema/messages/yaml.rb in dry-schema-1.13.1

- old
+ new

@@ -11,10 +11,10 @@ # Plain YAML message backend # # @api public class YAML < Abstract LOCALE_TOKEN = "%<locale>s" - TOKEN_REGEXP = /%{(\w*)}/.freeze + TOKEN_REGEXP = /%{(\w*)}/ EMPTY_CONTEXT = Object.new.tap { |ctx| def ctx.context binding end }.freeze.context