Method: NewRelic::Agent::Configuration::EnvironmentSource#set_dotted_alias

Defined in:
lib/new_relic/agent/configuration/environment_source.rb

#set_dotted_alias(original_config_setting) ⇒ Object

[View source]

43
44
45
46
47
48
49
50
# File 'lib/new_relic/agent/configuration/environment_source.rb', line 43

def set_dotted_alias(original_config_setting)
  config_setting = original_config_setting.to_s

  if config_setting.include?('.')
    config_alias = config_setting.tr('.', '_').to_sym
    self.alias_map[config_alias] = original_config_setting
  end
end