Sha256: 9e561632d9f6f513cc4569ded805e2822f61e108aaf1f449ec6151c47dab4c68

Contents?: true

Size: 239 Bytes

Versions: 1

Compression:

Stored size: 239 Bytes

Contents

require "csv"

module Dexter
  class CsvLogParser < LogParser
    def perform
      CSV.foreach(@logfile.file) do |row|
        if (m = REGEX.match(row[13]))
          process_entry(m[3], m[1].to_f)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pgdexter-0.3.0 lib/dexter/csv_log_parser.rb