class Reek::Errors::BadDetectorConfigurationKeyInCommentError
Gets raised when trying to configure a detector with an option which is unknown to it.
Constants
- UNKNOWN_SMELL_DETECTOR_MESSAGE
Public Class Methods
Source
# File lib/reek/errors/bad_detector_configuration_key_in_comment_error.rb, line 28 def initialize(detector_name:, offensive_keys:, source:, line:, original_comment:) message = format(UNKNOWN_SMELL_DETECTOR_MESSAGE, detector: detector_name, option: offensive_keys, source: source, line: line, comment: original_comment) super(message) end
Calls superclass method