diff --git a/2355/2/find_obscenity.rb b/2355/2/find_obscenity.rb index ef12e35ab..4ce5f0520 100644 --- a/2355/2/find_obscenity.rb +++ b/2355/2/find_obscenity.rb @@ -56,4 +56,3 @@ def check_battles_for_obscenity # rubocop:enable Metrics/AbcSize # rubocop:enable Style/IfUnlessModifier # rubocop:enable Lint/ImplicitStringConcatenation - diff --git a/2355/2/top_bad_words.rb b/2355/2/top_bad_words.rb index 68a3e9872..25cf883f0 100644 --- a/2355/2/top_bad_words.rb +++ b/2355/2/top_bad_words.rb @@ -1,6 +1,5 @@ require './find_obscenity.rb' -# rubocop:disable Lint/UnusedBlockArgument # rubocop:disable Metrics/AbcSize # This class is needed for 1st level of Task 2 # This class smells of :reek:Attribute @@ -46,5 +45,4 @@ def average_bad_words_in_battle(battler) top_obscenity[battler] / (Dir[File.join("./rap-battles/#{battler}/", '**', '*')].count { |file| File.file?(file) }) end end -# rubocop:enable Lint/UnusedBlockArgument # rubocop:enable Metrics/AbcSize