I am currently trying to convert this ruby array:
[5, 7, 8, 1]
into this:
[[5], [7], [8], [1]]
What\'s th
You could do:
[5, 7, 8, 1].collect { |i| [i] }