lib/openwfe/expressions/iterator.rb
#
# Jumps to a given position in the iterator
#
Jumps to a given position in the iterator
Jumps to a given position in the iterator
def jump (workitem, index)
      index = if index < 0
        0
      elsif index >= @iteration_list.size
        @iteration_list.size
      else
        index
      end
      position_at(workitem, index)
    end
def jump ( workitem , index ) index = if index < 0 0 elsif index >= @iteration_list . size @iteration_list . size else index end position_at ( workitem , index ) end
Jumps to a given position in the iterator
Jumps to a given position in the iterator
workitem
<not_specific>
index
<not_specific>