Module: Cucover::LineNumbers

Defined in:
lib/cucover/line_numbers.rb

Class Method Summary collapse

Class Method Details

.offsetObject

Different Ruby versions have slightly different line numbers with rcov



6
7
8
# File 'lib/cucover/line_numbers.rb', line 6

def self.offset
  Config::CONFIG['MINOR'] == '9' ? 0 : 1
end