1
0

Simplified Formula.valid?

This commit is contained in:
cryptogopher 2019-11-11 15:46:57 +01:00
parent fd11198446
commit dc9ebb36f6

View File

@ -100,8 +100,7 @@ module BodyTracking
end
def valid?
self.validate if @quantities.nil?
!@quantities.nil?
@quantities || self.validate.empty?
end
def get_quantities