Class: SimpleCov::StaticCoverageExtractor::LocationConventions::PointLocation

Inherits:
Data
  • Object
show all
Defined in:
lib/simplecov/static_coverage_extractor/location_conventions.rb

Overview

A zero-width stand-in for Prism locations, for the arms Coverage anchors to a point rather than a range.

Instance Attribute Summary collapse

Instance Attribute Details

#end_columnObject (readonly)

Returns the value of attribute end_column

Returns:

  • (Object)

    the current value of end_column



15
16
17
# File 'lib/simplecov/static_coverage_extractor/location_conventions.rb', line 15

def end_column
  @end_column
end

#end_lineObject (readonly)

Returns the value of attribute end_line

Returns:

  • (Object)

    the current value of end_line



15
16
17
# File 'lib/simplecov/static_coverage_extractor/location_conventions.rb', line 15

def end_line
  @end_line
end

#start_columnObject (readonly)

Returns the value of attribute start_column

Returns:

  • (Object)

    the current value of start_column



15
16
17
# File 'lib/simplecov/static_coverage_extractor/location_conventions.rb', line 15

def start_column
  @start_column
end

#start_lineObject (readonly)

Returns the value of attribute start_line

Returns:

  • (Object)

    the current value of start_line



15
16
17
# File 'lib/simplecov/static_coverage_extractor/location_conventions.rb', line 15

def start_line
  @start_line
end