Exception: RubocopChallenger::Errors::NoAutoCorrectableRule
- Inherits:
-
StandardError
- Object
- StandardError
- RubocopChallenger::Errors::NoAutoCorrectableRule
- Defined in:
- lib/rubocop_challenger/errors.rb
Overview
Raise if no autocorrectable rule in the ‘.rubocop_todo.yml`.
Instance Method Summary collapse
-
#initialize ⇒ NoAutoCorrectableRule
constructor
A new instance of NoAutoCorrectableRule.
Constructor Details
#initialize ⇒ NoAutoCorrectableRule
Returns a new instance of NoAutoCorrectableRule.
7 8 9 |
# File 'lib/rubocop_challenger/errors.rb', line 7 def initialize super 'There is no autocorrectable rule' end |