Module: Datadog::Configuration::Options::ClassMethods

Defined in:
lib/ddtrace/configuration/options.rb

Overview

Class behavior for a configuration object with options

Instance Method Summary collapse

Instance Method Details

#optionsObject



16
17
18
19
20
21
# File 'lib/ddtrace/configuration/options.rb', line 16

def options
  @options ||= begin
    # Allows for class inheritance of option definitions
    superclass <= Options ? superclass.options.dup : OptionDefinitionSet.new
  end
end