lib/ddtrace/configuration/options.rb in ddtrace-0.32.0 vs lib/ddtrace/configuration/options.rb in ddtrace-0.33.0
- old
+ new
@@ -68,9 +68,14 @@
def get_option(name)
add_option(name) unless options.key?(name)
options[name].get
end
+ def reset_option(name)
+ assert_valid_option!(name)
+ options[name].reset if options.key?(name)
+ end
+
def option_defined?(name)
self.class.options.key?(name)
end
def options_hash