Remove unused evaluated_match_result method
This commit is contained in:
parent
1da10d6ca5
commit
ab829c4491
|
|
@ -11,18 +11,6 @@ class Match < ApplicationRecord
|
||||||
|
|
||||||
validate :stage_xor_group
|
validate :stage_xor_group
|
||||||
|
|
||||||
def evaluate_match_result
|
|
||||||
if match_scores.first == match_scores.second
|
|
||||||
if group_match?
|
|
||||||
:undecided
|
|
||||||
else
|
|
||||||
:in_progress
|
|
||||||
end
|
|
||||||
else
|
|
||||||
:finished
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def stage_xor_group
|
def stage_xor_group
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue