Fix all Style/RedundantSelf rubocop issues

This commit is contained in:
Bertocq
2017-07-04 22:53:25 +02:00
parent 97d7a21791
commit 2888c20489
40 changed files with 102 additions and 107 deletions

View File

@@ -1,5 +1,5 @@
class Numeric
def percent_of(n)
(self.to_f / n * 100).to_i
(to_f / n * 100).to_i
end
end