Sha256: c17da87bfe2ad897e78dfa4d78c331a2a794433630e4c06058349da5a954134d

Contents?: true

Size: 489 Bytes

Versions: 1

Compression:

Stored size: 489 Bytes

Contents

# -*- encoding: utf-8 -*-

module Coco

  # My childs will format coverages information.
  # Kind of abstract class, my childs must implements the `format`
  # method.
  class Formatter

    # raw_coverages - The Hash from Coverage.result.
    # uncovered     - An Array list of uncovered files.
    # TODO I think covered is a better name than raw_coverages
    def initialize(raw_coverages, uncovered)
      @raw_coverages = raw_coverages
      @uncovered = uncovered
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
coco-0.11.0 lib/coco/formatter/formatter.rb