Multidimensional arrays

Hi All.

    can somebody tell me how to implement 2-D arrays in ruby?

Thanks
Arpit

Multi Dimension Array loooks like this…

a = [[1, 2], [3, 4]]
b = a[0] = [1, 2]
b[0] = 1

arpit jain wrote:

Hi All.

    can somebody tell me how to implement 2-D arrays in ruby?

Thanks
Arpit

Thanks Naga.

I got that.

Arpit

On Dec 4, 2007 5:06 PM, Naga harish Kanegolla <

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs