I have an array of arrays like so:
irb(main):028:0> device_array
=> [[\"name1\", \"type1\", [\"A\", \"N\", \"N\"], [\"Attribute\", \"device_attribute\"], 9
I know the question has been answered, and I'm not going to address it now, but..
Are you sure an array would be the best fit for that data? I'm talking about these data elements: ["name1", "type1", ["A", "N", "N"], ["Attribute", "device_attribute"], 9]
Seems like a Struct or something might be more appropriate and manageable for this, and then you can have an array of Structs. Just an idea.