On Mon, Oct 26, 2009 at 1:26 PM, salai <sayakyi / gmail.com> wrote:

> =A0puts [1,2,3,[4,99],5,7].number_of_leaves #--> 7

irb(main):001:0> [1,2,3,[4,5,6],7].flatten.size
=3D> 7

Jesus.