Class: CodeCoverage::CoverageItem
- Inherits:
-
Object
- Object
- CodeCoverage::CoverageItem
- Defined in:
- lib/code_coverage/coverage_item.rb
Overview
Container class for coverage data per file.
Instance Attribute Summary collapse
-
#conditional ⇒ Object
Returns the value of attribute conditional.
-
#file ⇒ Object
Returns the value of attribute file.
-
#instruction ⇒ Object
Returns the value of attribute instruction.
-
#line ⇒ Object
Returns the value of attribute line.
-
#method ⇒ Object
Returns the value of attribute method.
-
#total ⇒ Object
Returns the value of attribute total.
Instance Attribute Details
#conditional ⇒ Object
Returns the value of attribute conditional.
6 7 8 |
# File 'lib/code_coverage/coverage_item.rb', line 6 def conditional @conditional end |
#file ⇒ Object
Returns the value of attribute file.
6 7 8 |
# File 'lib/code_coverage/coverage_item.rb', line 6 def file @file end |
#instruction ⇒ Object
Returns the value of attribute instruction.
6 7 8 |
# File 'lib/code_coverage/coverage_item.rb', line 6 def instruction @instruction end |
#line ⇒ Object
Returns the value of attribute line.
6 7 8 |
# File 'lib/code_coverage/coverage_item.rb', line 6 def line @line end |
#method ⇒ Object
Returns the value of attribute method.
6 7 8 |
# File 'lib/code_coverage/coverage_item.rb', line 6 def method @method end |
#total ⇒ Object
Returns the value of attribute total.
6 7 8 |
# File 'lib/code_coverage/coverage_item.rb', line 6 def total @total end |