class RuboCop::Cop::Lint::RedundantCopEnableDirective

def range_with_comma(comment, name)

def range_with_comma(comment, name)
  source = comment.source
  begin_pos = cop_name_indention(comment, name)
  end_pos = begin_pos + name.size
  begin_pos = reposition(source, begin_pos, -1)
  end_pos = reposition(source, end_pos, 1)
  range_to_remove(begin_pos, end_pos, comment)
end