RuboCop: Missing top-level class documentation comment code example
Example 1: how to fix Missing top-level class documentation comment
# app/models/user.rb
# rubocop:disable Style/Documentation
class User
end
Example 2: how to fix Missing top-level class documentation comment
# .rubocop.yml
Style/Documentation:
Enabled: false
Example 3: how to fix Missing top-level class documentation comment
# app/models/user.rb
# Service to download ftp files from the server
class FtpService
end