fix syntax
This commit is contained in:
parent
0d3bb74601
commit
b759e45901
|
@ -93,7 +93,7 @@ class RulesEvaluator
|
|||
when "OR"
|
||||
(state or result)
|
||||
when "XOR"
|
||||
(state or result) and not (rules_state and result)
|
||||
(state or result) and !(rules_state and result)
|
||||
else
|
||||
raise ArgumentError, "Unrecognized logic '#{rule_set.operator}'"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue