Sha256: c62300a60036aba782cee4aa76eb48a64ff36c2c9e1e5d20c208fd4e56a2df1d
Contents?: true
Size: 322 Bytes
Versions: 1
Compression:
Stored size: 322 Bytes
Contents
class SourceFileCoverage < SimpleCov::SourceFile def initialize(project, commit, filename, coverage) @project, @filename, @coverage = project, filename, coverage @src = @project.read_file(filename, commit: commit).to_s.lines rescue Houston::Adapters::VersionControl::FileNotFound @src = [] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
houston-core-0.5.0.beta1 | app/models/source_file_coverage.rb |