class HamlLint::RubyExtraction::BaseChunk

def haml_end_line_index

def haml_end_line_index
  # the .max is needed to handle cases with 0 nb_haml_lines
  [@haml_line_index + nb_haml_lines - 1, @haml_line_index].max
end