# File lib/ruote/exp/fe_given.rb, line 133 def reply(workitem) if given = attribute(:t) || attribute_text workitem['fields']['__given__'] = given end # as soon as one child says true, reply to the parent expression if workitem['fields']['__result__'].to_s == 'true' workitem['fields'].delete('__given__') workitem['fields'].delete('__result__') reply_to_parent(workitem) else super end end