private Method

SOAPArray.offsetnext

There's no documentation for this item.

Source Code

# File soap/baseData.rb, line 881
def offsetnext
  move = false
  idx = @offset.size - 1
  while !move && idx >= 0
    @offset[idx] += 1
    if @size_fixed
      if @offset[idx] < @size[idx]
        move = true
      else
        @offset[idx] = 0
        idx -= 1
      end
    else
      move = true
    end
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.