class RuboCop::CLI

def display_error_summary(errors)

def display_error_summary(errors)
  return if errors.empty?
  warn Rainbow("\n#{pluralize(errors.size, 'error')} occurred:").red
  errors.each { |error| warn error }
  warn <<-END.strip_indent
    Errors are usually caused by RuboCop bugs.
    Please, report your problems to RuboCop's issue tracker.
    Mention the following information in the issue report:
    #{RuboCop::Version.version(true)}
  END
end