Method: ElasticAPM::Config::Options::InstanceMethods#set
- Defined in:
- lib/elastic_apm/config/options.rb
#set(key, value) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
141 142 143 144 145 146 |
# File 'lib/elastic_apm/config/options.rb', line 141 def set(key, value) .fetch(key.to_sym).set(value) rescue KeyError warn format("Unknown option '%s'", key) nil end |