Class: RuboCop::CLI::Command::ListEnabledCopsFor Private
Do not use. This class is for internal use only.
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Base
|
|
|
Instance Chain:
self,
Base
|
|
| Inherits: |
RuboCop::CLI::Command::Base
|
| Defined in: | lib/rubocop/cli/command/list_enabled_cops_for.rb |
Overview
Lists the cops that will inspect the given file or directory.
Class Attribute Summary
Base - Inherited
Class Method Summary
- .new(env) ⇒ ListEnabledCopsFor constructor Internal use only
Base - Inherited
Instance Attribute Summary
Instance Method Summary
- #run Internal use only
- #cops_of_department(registry, department) private Internal use only
- #print_available_cops private Internal use only
Instance Method Details
#cops_of_department(registry, department) (private)
[ GitHub ]#print_available_cops (private)
[ GitHub ]#run
[ GitHub ]# File 'lib/rubocop/cli/command/list_enabled_cops_for.rb', line 18
def run print_available_cops end