normalize

in lib/elastic_apm/config/options.rb [54:74]


        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
            
            val
          end
        end