class Covered::Cache
def disable
def disable super flush end
def enable
def enable super end
def flush
def flush @marks.each_slice(3) do |path, lineno, count| @output.mark(path, lineno, count) end @marks.clear end
def initialize(output)
def initialize(output) super(output) @marks = [] end
def mark(path, lineno, count = 1)
def mark(path, lineno, count = 1) @marks << path << lineno << count end