class ElasticAPM::Config::Options::Option
def normalize(val)
def normalize(val) return if val.nil? if @converter return @converter.call(val) end case type when :string then val.to_s when :int then val.to_i when :float then val.to_f when :bool then normalize_bool(val) when :list then normalize_list(val) when :dict then normalize_dict(val) when :url then normalize_url(val) else # raise "Unknown options type '#{type.inspect}'" val end end