# File lib/ruote/exp/fe_that.rb, line 60 def reply(workitem) if workitem['fei'] == h.fei # apply --> reply cond = attribute(:t) || attribute(:test) || attribute_text if name == 'of' comparator = cond.match(/^\s*\/.*\/\s*$/) ? '=~' : '==' cond = "#{workitem['fields']['__given__']} #{comparator} #{cond}" end h.result = Condition.true?(cond) if h.result apply_child(0, workitem) else reply_to_parent(workitem) end else # reply from child super end end