module SimpleCov::UselessResultsRemover
Select the files that related to working scope directory of SimpleCov
Constants
- ROOT_REGX
Public Class Methods
call(coverage_result)
click to toggle source
# File lib/simplecov/useless_results_remover.rb, line 10 def self.call(coverage_result) coverage_result.select do |path, _coverage| path =~ ROOT_REGX end end