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

Defined in:
lib/datadog/core/configuration/options.rb

Overview

Class behavior for a configuration object with options

Instance Method Summary collapse

Instance Method Details

#optionsObject



19
20
21
22
# File 'lib/datadog/core/configuration/options.rb', line 19

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