module OneshotCoverage::SimplecovReporter::DefaultFilter

Public Instance Methods

call(path) click to toggle source
# File lib/oneshot_coverage/simplecov_reporter.rb, line 8
                def call(path)
  return false unless File.extname(path) == '.rb'
  return false if path.include?('/spec/')
  return false if path.include?('/test/')
  return false if path.include?('/script/')
  return false if path.include?('/config/')

  true
end