Method: CopsDocumentationGenerator#call
- Defined in:
- lib/rubocop/cops_documentation_generator.rb
#call ⇒ Object
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.
61 62 63 64 65 66 67 68 |
# File 'lib/rubocop/cops_documentation_generator.rb', line 61 def call YARD::Registry.load! departments.each { |department| print_cops_of_department(department) } print_table_of_contents ensure RuboCop::ConfigLoader.default_configuration = nil end |