Module: Dcov::StatsRenderer::Helpers

Included in:
Generator
Defined in:
lib/dcov/stats.rb

Overview

stage :stats_header, :stats_body, :stats_footer

Instance Method Summary collapse

Instance Method Details

#class_coverageObject



11
12
13
# File 'lib/dcov/stats.rb', line 11

def class_coverage
   data[:coverage_rating][:class]
end

#method_coverageObject



19
20
21
# File 'lib/dcov/stats.rb', line 19

def method_coverage
   data[:coverage_rating][:method]
end

#module_coverageObject



15
16
17
# File 'lib/dcov/stats.rb', line 15

def module_coverage
   data[:coverage_rating][:module]
end