# File lib/ruote/exp/command.rb, line 45 def get_command(workitem) command, step = workitem['fields'].delete(F_COMMAND) command, step = lookup_attribute_command(workitem) unless command command = 'break' if command == 'over' || command == 'stop' step = 1 if step == '' return nil if command == nil if command == 'back' command = 'skip' step = step ? -step : -1 elsif command == 'skip' step ||= 1 end [ command, step ] end