Class: EagerEye::Detectors::Base
- Inherits:
-
Object
- Object
- EagerEye::Detectors::Base
show all
- Defined in:
- lib/eager_eye/detectors/base.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.default_severity ⇒ Object
13
14
15
|
# File 'lib/eager_eye/detectors/base.rb', line 13
def default_severity
:warning
end
|
.detector_name ⇒ Object
9
10
11
|
# File 'lib/eager_eye/detectors/base.rb', line 9
def detector_name
raise NotImplementedError, "Subclasses must implement .detector_name"
end
|
Instance Method Details
#detect(_ast, _file_path) ⇒ Object
18
19
20
|
# File 'lib/eager_eye/detectors/base.rb', line 18
def detect(_ast, _file_path)
raise NotImplementedError, "Subclasses must implement #detect"
end
|