Module: Fluent::PluginHelper
- Defined in:
- lib/fluent/plugin_helper.rb,
lib/fluent/plugin_helper/timer.rb,
lib/fluent/plugin_helper/inject.rb,
lib/fluent/plugin_helper/parser.rb,
lib/fluent/plugin_helper/thread.rb,
lib/fluent/plugin_helper/extract.rb,
lib/fluent/plugin_helper/storage.rb,
lib/fluent/plugin_helper/formatter.rb,
lib/fluent/plugin_helper/event_loop.rb,
lib/fluent/plugin_helper/retry_state.rb,
lib/fluent/plugin_helper/child_process.rb,
lib/fluent/plugin_helper/event_emitter.rb,
lib/fluent/plugin_helper/compat_parameters.rb
Defined Under Namespace
Modules: ChildProcess, CompatParameters, EventEmitter, EventLoop, Extract, Formatter, Inject, Mixin, Parser, RetryState, Storage, Thread, Timer
Instance Method Summary collapse
Instance Method Details
#helpers(*snake_case_symbols) ⇒ Object
38 39 40 41 |
# File 'lib/fluent/plugin_helper.rb', line 38 def helpers(*snake_case_symbols) helper_modules = snake_case_symbols.map{|name| Fluent::PluginHelper.const_get(name.to_s.split('_').map(&:capitalize).join) } include(*helper_modules) end |