class Reek::Errors::GarbageDetectorConfigurationInCommentError
Gets raised when trying to use a configuration for a detector that can’t be parsed into a hash.
Constants
- BAD_DETECTOR_CONFIGURATION_MESSAGE
Public Class Methods
Source
# File lib/reek/errors/garbage_detector_configuration_in_comment_error.rb, line 27 def initialize(detector_name:, source:, line:, original_comment:) message = format(BAD_DETECTOR_CONFIGURATION_MESSAGE, detector: detector_name, source: source, line: line, comment: original_comment) super(message) end
Calls superclass method