Class: FluentExt::TextParser::ValuesParser
- Inherits:
-
GenericParser
- Object
- GenericParser
- FluentExt::TextParser::ValuesParser
- Defined in:
- lib/fluent/plugin/fixed_parser.rb
Instance Attribute Summary
Attributes inherited from GenericParser
Instance Method Summary collapse
Methods inherited from GenericParser
Constructor Details
This class inherits a constructor from FluentExt::TextParser::GenericParser
Instance Method Details
#configure(conf) ⇒ Object
115 116 117 118 |
# File 'lib/fluent/plugin/fixed_parser.rb', line 115 def configure(conf) super @keys = @keys.split(",") end |
#values_map(values) ⇒ Object
120 121 122 |
# File 'lib/fluent/plugin/fixed_parser.rb', line 120 def values_map(values) Hash[@keys.zip(values)] end |