Fix some spacing

This commit is contained in:
Rien Maertens 2018-10-23 20:55:56 +02:00
parent 8a0f45002a
commit b7896f64e7
No known key found for this signature in database
GPG key ID: 943CAB70C511D23C

View file

@ -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