Class: RuboCop::CLI::Command::ExecuteRunner Private

Inherits:
Base
  • Object
show all
Includes:
Formatter::TextUtil
Defined in:
lib/rubocop/cli/command/execute_runner.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Run all the selected cops and report the result.

Constant Summary collapse

INTEGRATION_FORMATTERS =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Combination of short and long formatter names.

%w[h html j json ju junit].freeze

Instance Attribute Summary

Attributes inherited from Base

#env

Instance Method Summary collapse

Methods included from Formatter::TextUtil

pluralize

Methods inherited from Base

by_command_name, inherited, #initialize

Constructor Details

This class inherits a constructor from RuboCop::CLI::Command::Base

Instance Method Details

#runObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



16
17
18
# File 'lib/rubocop/cli/command/execute_runner.rb', line 16

def run
  execute_runner(@paths)
end