module Reek::Report
Reek
reporting functionality.
@public
Constants
- HEADING_FORMATTERS
- LOCATION_FORMATTERS
- PROGRESS_FORMATTERS
- REPORT_CLASSES
- WARNING_FORMATTER_CLASSES
Public Class Methods
Source
# File lib/reek/report.rb, line 75 def self.heading_formatter(heading_format) HEADING_FORMATTERS.fetch(heading_format) end
Map heading format symbol to a report class.
@param [Symbol] heading_format The format to map
@return The mapped heading class
Source
# File lib/reek/report.rb, line 65 def self.location_formatter(location_format) LOCATION_FORMATTERS.fetch(location_format) end
Map location format symbol to a report class.
@param [Symbol] location_format The format to map
@return The mapped location class
Source
# File lib/reek/report.rb, line 85 def self.progress_formatter(progress_format) PROGRESS_FORMATTERS.fetch(progress_format) end
Map progress format symbol to a report class.
@param [Symbol] progress_format The format to map
@return The mapped progress class
Source
# File lib/reek/report.rb, line 55 def self.report_class(report_format) REPORT_CLASSES.fetch(report_format) end
Map report format symbol to a report class.
@param [Symbol] report_format The format to map
@return The mapped report class
Source
# File lib/reek/report.rb, line 95 def self.warning_formatter_class(warning_format) WARNING_FORMATTER_CLASSES.fetch(warning_format) end
Map warning format symbol to a report class.
@param [Symbol] warning_format The format to map
@return The mapped warning class