# File lib/ruote/exp/fe_concurrence.rb, line 428 def over?(workitem) over_if = attribute(:over_if, workitem) over_unless = attribute(:over_unless, workitem) if over_if && Condition.true?(over_if) workitem['winner'] = true true elsif over_unless && (not Condition.true?(over_unless)) workitem['winner'] = true true elsif h.wait_for h.wait_for.empty? else (workitem_count + 1 >= expected_count) # the + 1 is necessary since #keep hasn't yet been called end end