Class: RuboCop::Formatter::AutoGenConfigFormatter
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
|
|
Inherits: |
RuboCop::Formatter::ProgressFormatter
|
Defined in: | lib/rubocop/formatter/auto_gen_config_formatter.rb |
Overview
Does not show individual offenses in the console.
Constant Summary
::RuboCop::PathUtil
- Included
HIDDEN_FILE_PATTERN, SMART_PATH_CACHE
SimpleTextFormatter
- Inherited
ClangStyleFormatter
- Inherited
ProgressFormatter
- Inherited
Class Method Summary
Instance Attribute Summary
BaseFormatter
- Inherited
Instance Method Summary
ProgressFormatter
- Inherited
TextUtil
- Included
ClangStyleFormatter
- Inherited
SimpleTextFormatter
- Inherited
#file_finished, #finished, #report_file, #report_summary, #started, #annotate_message, #colored_severity_code, #count_stats, #message |
::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