Class: Datadog::CI::Contrib::RSpec::Configuration::Settings
- 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
-
#datadog_formatter_enabled ⇒ Object
Returns the value of attribute datadog_formatter_enabled.
-
#dry_run_enabled ⇒ Object
internal only.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#service_name ⇒ Object
Returns the value of attribute service_name.
Instance Method Summary collapse
- #[] ⇒ bool, (:service_name) -> String
-
#initialize ⇒ Settings
constructor
A new instance of Settings.
Methods inherited from Settings
Constructor Details
#initialize ⇒ Settings
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_enabled ⇒ Object
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_enabled ⇒ Object
internal only
35 36 37 |
# File 'lib/datadog/ci/contrib/rspec/configuration/settings.rb', line 35 def dry_run_enabled @dry_run_enabled end |
#enabled ⇒ Object
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_name ⇒ Object
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
21 |
# File 'sig/datadog/ci/contrib/rspec/configuration/settings.rbs', line 21
def []: (:enabled | :datadog_formatter_enabled | :dry_run_enabled) -> bool | (:service_name) -> String
|