Sha256: 46480966c7a5bdbeba8ce50fc185b593ba6af29c4f360daf28bd820829eac2f2
Contents?: true
Size: 326 Bytes
Versions: 8
Compression:
Stored size: 326 Bytes
Contents
# frozen_string_literal: true module DeepCover module Tools::OurCoverage def our_coverage(source, fn, lineno, **options) covered_code = CoveredCode.new(source: source, path: fn, lineno: lineno) Tools.execute_sample(covered_code) covered_code.line_coverage(options)[(lineno - 1)..-1] end end end
Version data entries
8 entries across 8 versions & 1 rubygems