Module: Fluent::SystemConfigMixin
- Defined in:
- lib/fluent/system_config.rb
Instance Method Summary collapse
Instance Method Details
#system_config ⇒ Object
22 23 24 |
# File 'lib/fluent/system_config.rb', line 22 def system_config @_system_config || Fluent::Engine.system_config end |
#system_config_override(opts = {}) ⇒ Object
26 27 28 29 30 31 32 33 |
# File 'lib/fluent/system_config.rb', line 26 def system_config_override(opts={}) unless @_system_config @_system_config = Fluent::Engine.system_config.dup end opts.each_pair do |key, value| @_system_config.send(:"#{key.to_s}=", value) end end |