lib/reek/report/heading_formatter.rb in reek-3.3.1 vs lib/reek/report/heading_formatter.rb in reek-3.4.0

- old
+ new

@@ -1,8 +1,7 @@ module Reek module Report - # @api private module HeadingFormatter # # Base class for heading formatters. # Is responsible for formatting the heading emitted for each examiner # @@ -12,10 +11,11 @@ def initialize(report_formatter) @report_formatter = report_formatter end + # :reek:UtilityFunction def show_header?(_examiner) raise NotImplementedError end def header(examiner) @@ -38,9 +38,10 @@ # # Lists only smelly examiners # class Quiet < Base + # :reek:UtilityFunction def show_header?(examiner) examiner.smelly? end end end