Class: Reek::Report::DocumentationLinkWarningFormatter
- Inherits:
-
SimpleWarningFormatter
- Object
- SimpleWarningFormatter
- Reek::Report::DocumentationLinkWarningFormatter
- Defined in:
- lib/reek/report/documentation_link_warning_formatter.rb
Overview
Formatter that adds a link to the docs to the basic message from SimpleWarningFormatter.
Instance Attribute Summary
Attributes inherited from SimpleWarningFormatter
Instance Method Summary collapse
Methods inherited from SimpleWarningFormatter
Constructor Details
This class inherits a constructor from Reek::Report::SimpleWarningFormatter
Instance Method Details
#format(warning) ⇒ Object
12 13 14 |
# File 'lib/reek/report/documentation_link_warning_formatter.rb', line 12 def format(warning) "#{super} [#{warning.explanatory_link}]" end |