Methods

Class/Module Index [+]

Quicksearch

Fluent::TextParser::TSVParser

Public Instance Methods

configure(conf) click to toggle source
# File lib/fluent/parser.rb, line 337
def configure(conf)
  super
  @key_num = @keys.length
end
parse(text) click to toggle source
# File lib/fluent/parser.rb, line 342
def parse(text)
  if block_given?
    yield values_map(text.split(@delimiter, @key_num))
  else
    return values_map(text.split(@delimiter, @key_num))
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.