How to make multiple array into a single array in ruby : Hiii,
I am trying to make a multiple array in single array in ruby, but in a different format. I given my idea below, please try to help me. I need it

Suppose i have array like this `aa = [1,2,3,[5,6,7],8]`   . Now i want to change the code like this `[1,2,3,5,8],[1,2,3,6,8],[1,2,3,7,8]` . if any one get the idea please pass here

