class Covered::Files
def each(&block)
def each(&block) @paths.each_value(&block) end
def empty?
def empty? @paths.empty? end
def initialize(output = nil)
def initialize(output = nil) super(output) @paths = {} end
def mark(path, *args)
def mark(path, *args) coverage = (@paths[path] ||= Coverage.new(path)) coverage.mark(*args) return coverage end