I have the following code:
a = [\"Cat\", \"Dog\", \"Mouse\"] s = [\"and\", \"&\"]
I want to merge the array s into array <
s
You can do that with:
a.zip(s).flatten.compact