Class: Contrast::Config::Diagnostics::EffectiveConfig
- Defined in:
- lib/contrast/config/diagnostics/effective_config.rb
Overview
The current effective config received from all authorized configuration channels.
Instance Attribute Summary collapse
-
#values ⇒ Array
readonly
Value of effective agent configurations.
Instance Method Summary collapse
-
#initialize ⇒ EffectiveConfig
constructor
A new instance of EffectiveConfig.
- #to_controlled_hash ⇒ Object
Constructor Details
#initialize ⇒ EffectiveConfig
Returns a new instance of EffectiveConfig.
18 19 20 |
# File 'lib/contrast/config/diagnostics/effective_config.rb', line 18 def initialize @values = [] end |
Instance Attribute Details
#values ⇒ Array (readonly)
Value of effective agent configurations
16 17 18 |
# File 'lib/contrast/config/diagnostics/effective_config.rb', line 16 def values @values end |
Instance Method Details
#to_controlled_hash ⇒ Object
22 23 24 |
# File 'lib/contrast/config/diagnostics/effective_config.rb', line 22 def to_controlled_hash @values&.map(&:to_controlled_hash) end |