Fix some spacing
This commit is contained in:
parent
8a0f45002a
commit
b7896f64e7
1 changed files with 2 additions and 2 deletions
|
@ -49,9 +49,9 @@ class User < ActiveRecord::Base
|
|||
self.frecency = (last_datetimes.map(&:to_time).map(&:to_i).sum / (num_orders * 10)) * self.multiplier
|
||||
self.save
|
||||
end
|
||||
|
||||
|
||||
def multiplier
|
||||
Math.atan(self.balance / 10) + (Math::PI / 2)
|
||||
Math.atan(self.balance / 10) + (Math::PI / 2)
|
||||
end
|
||||
|
||||
def balance
|
||||
|
|
Loading…
Reference in a new issue