Exception: RubocopPlus::Commands::MissingYml
- Inherits:
-
StandardError
- Object
- StandardError
- RubocopPlus::Commands::MissingYml
- Defined in:
- lib/commands/rubo/errors/missing_yml.rb
Overview
The rubo command performs some sanity checking to make sure the current application is using a well defined .rubocop.yml. If the .rubocop.yml file is missing, a MissingYml error is raised.
Instance Method Summary collapse
Instance Method Details
#message ⇒ Object
6 7 8 9 |
# File 'lib/commands/rubo/errors/missing_yml.rb', line 6 def "\n The application does not have a .rubocop.yml file. Run the installer to generate one:\n" \ " rubo --init\n\n".rubo_red end |