Class: CodeCoverage::CoverageItem

Inherits:
Object
  • Object
show all
Defined in:
lib/code_coverage/coverage_item.rb

Overview

Container class for coverage data per file.

Instance Attribute Summary collapse

Instance Attribute Details

#conditionalObject

Returns the value of attribute conditional.



6
7
8
# File 'lib/code_coverage/coverage_item.rb', line 6

def conditional
  @conditional
end

#fileObject

Returns the value of attribute file.



6
7
8
# File 'lib/code_coverage/coverage_item.rb', line 6

def file
  @file
end

#instructionObject

Returns the value of attribute instruction.



6
7
8
# File 'lib/code_coverage/coverage_item.rb', line 6

def instruction
  @instruction
end

#lineObject

Returns the value of attribute line.



6
7
8
# File 'lib/code_coverage/coverage_item.rb', line 6

def line
  @line
end

#methodObject

Returns the value of attribute method.



6
7
8
# File 'lib/code_coverage/coverage_item.rb', line 6

def method
  @method
end

#totalObject

Returns the value of attribute total.



6
7
8
# File 'lib/code_coverage/coverage_item.rb', line 6

def total
  @total
end