Class: Reek::Report::QuietHeadingFormatter

Inherits:
HeadingFormatterBase show all
Defined in:
lib/reek/report/heading_formatter.rb

Overview

Lists only smelly examiners

Instance Method Summary collapse

Methods inherited from HeadingFormatterBase

#formatted_header, #header

Instance Method Details

#show_header?(examiner) ⇒ Boolean

Returns:

  • (Boolean)


49
50
51
# File 'lib/reek/report/heading_formatter.rb', line 49

def show_header?(examiner)
  examiner.smelly?
end