Class: FluentExt::TextParser::ValuesParser
- Inherits:
-
GenericParser
- Object
- GenericParser
- FluentExt::TextParser::ValuesParser
- Defined in:
- lib/fluent/plugin/fixed_parser.rb
Instance Method Summary collapse
Methods inherited from GenericParser
Instance Method Details
#configure(conf) ⇒ Object
95 96 97 98 |
# File 'lib/fluent/plugin/fixed_parser.rb', line 95 def configure(conf) super @keys = @keys.split(",") end |
#values_map(values) ⇒ Object
100 101 102 |
# File 'lib/fluent/plugin/fixed_parser.rb', line 100 def values_map(values) Hash[@keys.zip(values)] end |