lib/ddtrace/configuration/options.rb in ddtrace-0.35.1 vs lib/ddtrace/configuration/options.rb in ddtrace-0.35.2
- old
+ new
@@ -78,10 +78,10 @@
def option_defined?(name)
self.class.options.key?(name)
end
def options_hash
- options.each_with_object({}) do |(key, _), hash|
+ self.class.options.merge(options).each_with_object({}) do |(key, _), hash|
hash[key] = get_option(key)
end
end
def reset_options!