lib/json_matchers/configuration.rb in json_matchers-0.7.0 vs lib/json_matchers/configuration.rb in json_matchers-0.7.1
- old
+ new
@@ -6,14 +6,14 @@
def self.configure
yield(configuration)
end
class Configuration
- attr_reader :options
-
def initialize
- @options = {
- record_errors: true,
- }
+ @options = {}
+ end
+
+ def options
+ @options.merge!(record_errors: true)
end
end
end