Fix all Style/RedundantSelf rubocop issues
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user