private Method

SOAPArray.traverse_data(data, rank = 1) { |*v| ... }

There's no documentation for this item.

Source Code

# File soap/baseData.rb, line 862
def traverse_data(data, rank = 1)
  idx = 0
  while idx < ranksize(rank)
    if rank < @rank
      traverse_data(data[idx], rank + 1) do |*v|
        v[1, 0] = idx
        yield(*v)
      end
    else
      yield(data[idx], idx)
    end
    idx += 1
  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.