Class/Module Index [+]

Quicksearch

Fluent::TextParser::TypeConverter

Constants

Converters

Public Class Methods

included(klass) click to toggle source
# File lib/fluent/parser.rb, line 77
def self.included(klass)
  klass.instance_eval {
    config_param :types, :string, :default => nil
    config_param :types_delimiter, :string, :default => ','
    config_param :types_label_delimiter, :string, :default => ':'
  }
end

Public Instance Methods

configure(conf) click to toggle source
# File lib/fluent/parser.rb, line 85
def configure(conf)
  super

  @type_converters = parse_types_parameter unless @types.nil?
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.