# File lib/ruote/exp/fe_cursor.rb, line 247 def jump_to (workitem, position, arg) pos = Integer(arg) rescue nil return pos if pos != nil tree_children.each_with_index do |c, i| exp_name = c[0] ref = c[1]['ref'] tag = c[1]['tag'] ref = Ruote.dosub(ref, self, workitem) if ref tag = Ruote.dosub(tag, self, workitem) if tag next if exp_name != arg && ref != arg && tag != arg pos = i break end pos ? pos : position end