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 |trace_point| if path = trace_point.path @output.mark(path, trace_point.lineno) end end end