Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Commit

Permalink
Fix rubocop's offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksei12942 committed Jul 17, 2018
1 parent 2ea3ce4 commit c621dae
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion 2355/2/find_obscenity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,3 @@ def check_battles_for_obscenity
# rubocop:enable Metrics/AbcSize
# rubocop:enable Style/IfUnlessModifier
# rubocop:enable Lint/ImplicitStringConcatenation

2 changes: 0 additions & 2 deletions 2355/2/top_bad_words.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

0 comments on commit c621dae

Please sign in to comment.