Class: Rcov::HTMLCoverage::SummaryFileInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/rcov/formatters/html_coverage.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(obj) ⇒ SummaryFileInfo

Returns a new instance of SummaryFileInfo.



289
290
291
# File 'lib/rcov/formatters/html_coverage.rb', line 289

def initialize(obj)
  @o = obj 
end

Instance Method Details

#code_coverageObject



301
302
303
# File 'lib/rcov/formatters/html_coverage.rb', line 301

def code_coverage
  @o.code_coverage
end

#nameObject



309
310
311
# File 'lib/rcov/formatters/html_coverage.rb', line 309

def name
  "TOTAL" 
end

#num_code_linesObject



297
298
299
# File 'lib/rcov/formatters/html_coverage.rb', line 297

def num_code_lines
  @o.num_code_lines
end

#num_linesObject



293
294
295
# File 'lib/rcov/formatters/html_coverage.rb', line 293

def num_lines
  @o.num_lines
end

#total_coverageObject



305
306
307
# File 'lib/rcov/formatters/html_coverage.rb', line 305

def total_coverage
  @o.total_coverage
end