Module: OneshotCoverage::SimplecovReporter::DefaultFilter
- Defined in:
- lib/oneshot_coverage/simplecov_reporter.rb
Class Method Summary collapse
Class Method Details
.call(path) ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/oneshot_coverage/simplecov_reporter.rb', line 8 module_function 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 |