Sha256: f5562f63b0da74ba7e1a0fa2ab2ba1b19ca3990b461929be4be1b48362e50beb

Contents?: true

Size: 349 Bytes

Versions: 4

Compression:

Stored size: 349 Bytes

Contents

# frozen_string_literal: true

require_relative "couve/version"
require_relative "couve/parser"

module Couve
  def self.start
    coverage_file = ARGV[0]
    output_file = ARGV[1]

    coverage = File.read(coverage_file)
    parser = Couve::Parser.new(coverage)

    File.open(output_file, "w") do |f|
      f.puts parser.to_html
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
couve-0.5.0 lib/couve.rb
couve-0.4.0 lib/couve.rb
couve-0.2.0 lib/couve.rb
couve-0.1.0 lib/couve.rb