Module: Fluent::DataEntryPreferenceConfigurable::ClassMethods

Defined in:
lib/flydata/fluent-plugins/preference.rb

Instance Method Summary collapse

Instance Method Details

#custom_config_param(key, type, option = {}) ⇒ Object


51
52
53
54
# File 'lib/flydata/fluent-plugins/preference.rb', line 51

def custom_config_param(key, type, option = {})
  conf = class_variable_get(:@@supported_custom_confs)
  conf[type.to_sym][key.to_sym] = option
end