123456789_123456789_123456789_123456789_123456789_

Class: RuboCop::Formatter::AutoGenConfigFormatter

Overview

Does not show individual offenses in the console.

Constant Summary

::RuboCop::PathUtil - Included

HIDDEN_FILE_PATTERN, SMART_PATH_CACHE

SimpleTextFormatter - Inherited

COLOR_FOR_SEVERITY

ClangStyleFormatter - Inherited

ELLIPSES

ProgressFormatter - Inherited

DOT

Class Method Summary

ProgressFormatter - Inherited

BaseFormatter - Inherited

Instance Attribute Summary

Instance Method Summary

ProgressFormatter - Inherited

TextUtil - Included

ClangStyleFormatter - Inherited

SimpleTextFormatter - Inherited

::RuboCop::PathUtil - Included

#absolute?

Returns true for an absolute Unix or Windows path.

#glob?

Returns true for a glob.

#hidden_dir?, #hidden_file?, #hidden_file_in_not_hidden_dir?,
#match_path?

Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity.

#maybe_hidden_file?

Loose check to reduce memory allocations.

#relative_path, #smart_path

Colorizable - Included

BaseFormatter - Inherited

#file_finished

Invoked at the end of inspecting each files.

#file_started

Invoked at the beginning of inspecting each files.

#finished

Invoked after all files are inspected or interrupted by user.

#started

Invoked once before any files are inspected.

Constructor Details

This class inherits a constructor from RuboCop::Formatter::ProgressFormatter

Instance Method Details

#finished(inspected_files)

[ GitHub ]

  
# File 'lib/rubocop/formatter/auto_gen_config_formatter.rb', line 7

def finished(inspected_files)
  output.puts

  report_summary(inspected_files.size,
                 @total_offense_count,
                 @total_correction_count,
                 @total_correctable_count)
end