I have an array which is created by reading a csv file
time = CSV.parse(File.read(‘time.csv’))
I want to be able to find a particular value but I used
time.index ‘valuea’ and nothing displays.
I am pretty sure it is because its an array of arrays
eg if i go puts time it will display valuea
The 2 dimensional array is what I need but I am not sure how to search
Please help as I am very new at ruby.