# File lib/ruote/exp/command.rb, line 68 def lookup_att_com (dir, workitem) ATT_COMMANDS.each do |com| c = attribute("#{com}_#{dir}", workitem) || attribute("#{com}-#{dir}", workitem) next unless c c = Condition.true?(c) return [ com, nil ] \ if (dir == 'if' && c) || (dir == 'unless' && ( ! c)) end nil end