Contact: aviboots(AT)netvision.net.il
41,593 questions
54,235 answers
573 users
arr = [["a", "b", "c"], ["d", "e", "f", "g"], ["h", "i"]] p arr arr.flatten! p arr # run: # [["a", "b", "c"], ["d", "e", "f", "g"], ["h", "i"]] # ["a", "b", "c", "d", "e", "f", "g", "h", "i"]