class Covered::Capture
def disable
def disable @trace.disable super end
def enable
def enable super @trace.enable end
def initialize(output)
def initialize(output) super(output) @trace = TracePoint.new(:line, :call) do |event| if path = event.path @output.mark(path, event.lineno) end end end