Simplified Formula.valid?
This commit is contained in:
parent
fd11198446
commit
dc9ebb36f6
@ -100,8 +100,7 @@ module BodyTracking
|
||||
end
|
||||
|
||||
def valid?
|
||||
self.validate if @quantities.nil?
|
||||
!@quantities.nil?
|
||||
@quantities || self.validate.empty?
|
||||
end
|
||||
|
||||
def get_quantities
|
||||
|
Reference in New Issue
Block a user