From: Chris Morales Date: 2007-11-22T14:24:35+09:00 Subject: How to give depth to arrays? Hi, I'm trying to convert an array like [2,3,3,5,4,4] in [2,[3,3,[[5],4,4]]], but I really can't figure how to this. Is there any way to achieve this in Ruby? Thanks in advance. -- Posted via http://www.ruby-forum.com/.