lib/coverband/base.rb in coverband-0.1.0.preRC9 vs lib/coverband/base.rb in coverband-1.0.0
- old
+ new
@@ -124,13 +124,9 @@
set_trace_func(nil)
@tracer_set = false
end
end
- def add_from_tracepoint(trace_point)
- add_file(trace_point.path, trace_point.lineno)
- end
-
def add_file(file, line)
if !file.match(/(\/gems\/|internal\:prelude)/) && file.match(@project_directory) && !@ignore_patterns.any?{|pattern| file.match(/#{pattern}/) }
add_file_without_checks(file, line)
end
end