hi guys

i have a array like this for e.g

[["0", "0", "0", "0", "0", "3", "3"],
 ["0", "0", "0", "0", "0", "3", "3"],
 ["0", "0", "0", "0", "0", "3", "3"],
 ["0", "3", "0", "0", "0", "0", "3"],
 ["0", "0", "0", "0", "0", "0", "3"]]

how wud i convert to this

[[0, 0, 0, 0, 0, 3, 3],
 [0, 0, 0, 0, 0, 3, 3],
 [0, 0, 0, 0, 0, 3, 3],
 [0, 0, 0, 0, 0, 3, 3],
 [0, 0, 0, 0, 0, 0, 3],
 [0, 0, 0, 0, 0, 0, 3],
 [0, 3, 0, 0, 0, 0, 3],
 [0, 0, 0, 0, 0, 0, 3],

i.e a string array to integer array in 1 line if possible

pls help
-- 
Posted via http://www.ruby-forum.com/.