Method: NewRelic::Agent::Configuration.deprecated_description
- Defined in:
- lib/new_relic/agent/configuration/default_source.rb
permalink .deprecated_description(new_setting, description) ⇒ Object
Marks the config option as deprecated in the documentation once generated. Does not appear in logs.
26 27 28 29 |
# File 'lib/new_relic/agent/configuration/default_source.rb', line 26 def self.deprecated_description(new_setting, description) link_ref = new_setting.to_s.tr('.', '-') %{Please see: [#{new_setting}](##{link_ref}). \n\n#{description}} end |