Exception: RubocopChallenger::Errors::NoAutoCorrectableRule

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rubocop_challenger/errors.rb

Overview

Raise if no autocorrectable rule in the ‘.rubocop_todo.yml`.

Instance Method Summary collapse

Constructor Details

#initializeNoAutoCorrectableRule

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