Class: Polyrun::Coverage::Formatter::LcovFormatter
- Inherits:
-
Base
- Object
- Base
- Polyrun::Coverage::Formatter::LcovFormatter
show all
- Defined in:
- lib/polyrun/coverage/formatter.rb
Instance Method Summary
collapse
Methods inherited from Base
#format, #initialize
Instance Method Details
#write_files(result, output_dir, basename) ⇒ Object
80
81
82
83
84
|
# File 'lib/polyrun/coverage/formatter.rb', line 80
def write_files(result, output_dir, basename)
path = File.join(output_dir, "#{basename}.lcov")
File.write(path, Merge.emit_lcov(result.coverage_blob))
{lcov: path}
end
|