Class: Datadog::CI::Contrib::RSpec::Configuration::Settings

Inherits:
Settings
  • Object
show all
Defined in:
lib/datadog/ci/contrib/rspec/configuration/settings.rb,
sig/datadog/ci/contrib/rspec/configuration/settings.rbs

Overview

Custom settings for the RSpec integration

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Settings

#[]=, #configure

Constructor Details

#initializeSettings

Returns a new instance of Settings.



7
# File 'sig/datadog/ci/contrib/rspec/configuration/settings.rbs', line 7

def initialize: () ?{ (Settings) -> void } -> void

Instance Attribute Details

#datadog_formatter_enabledObject

Returns the value of attribute datadog_formatter_enabled.



28
29
30
# File 'lib/datadog/ci/contrib/rspec/configuration/settings.rb', line 28

def datadog_formatter_enabled
  @datadog_formatter_enabled
end

#dry_run_enabledObject

internal only



35
36
37
# File 'lib/datadog/ci/contrib/rspec/configuration/settings.rb', line 35

def dry_run_enabled
  @dry_run_enabled
end

#enabledObject

Returns the value of attribute enabled.



15
16
17
# File 'lib/datadog/ci/contrib/rspec/configuration/settings.rb', line 15

def enabled
  @enabled
end

#service_nameObject

Returns the value of attribute service_name.



21
22
23
# File 'lib/datadog/ci/contrib/rspec/configuration/settings.rb', line 21

def service_name
  @service_name
end

Instance Method Details

#[]bool, (:service_name) -> String

Parameters:

  • (:enabled, :datadog_formatter_enabled, :dry_run_enabled)

Returns:

  • (bool, (:service_name) -> String)


21
# File 'sig/datadog/ci/contrib/rspec/configuration/settings.rbs', line 21

def []: (:enabled | :datadog_formatter_enabled | :dry_run_enabled) -> bool | (:service_name) -> String