Class: RuboCop::Formatter::SimpleTextFormatter::Report

Inherits:
Object
  • Object
show all
Defined in:
lib/rubocop/formatter/simple_text_formatter.rb

Instance Method Summary collapse

Instance Method Details

#summaryObject



7
8
9
10
11
12
13
14
15
# File 'lib/rubocop/formatter/simple_text_formatter.rb', line 7

def summary
  if @correction_count > 0
    "ζ*'ヮ')ζ<うっうー!#{@file_count}ファイルチェックしましたよー!\r\n" \
    "#{offences_text}\r\n" \
    "ζ*'ヮ')ζ<うっうー#{corrections}直しましたよー!"
  else
    "ζ*'ヮ')ζ<うっうー!#{@file_count}ファイルチェックしましたよー!\r\n#{offences_text}"
  end
end