Hi,
Novice question:
I need to assign an item id to one of 3 arrays randomly but can't figure out how to specify the correct array by combining "arr" and the randomly generated number...
id = "100" x = rand(1..3)
arr1 = Array.new arr2 = Array.new arr3 = Array.new
selected_array = "#{'arr' + x}" *** Not sure how to do this ****
selected_array.push(id)
Thanks in advance,
Dave Castellano