Sha256: 1245c9a70c09bc59159470105fa32fb8f814bf4d31e5a6e00b22a2c59b39c2f6
Contents?: true
Size: 783 Bytes
Versions: 1
Compression:
Stored size: 783 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. Keys are filenames # and values are an Array representing each lines of # the file : # + nil : Unreacheable (comments, etc). # + 0 : Not hit. # + 1 or more : Number of hits. # 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.12.0 | lib/coco/formatter/formatter.rb |