How do you add an array to another array in Ruby and not end up with a multi-dimensional result?
I tried: somearray = [“some”, “thing”] anotherarray = [“another”, “thing”] somearray.push(anotherarray.flatten!) I expected [“some”, “thing”, “another”, “thing”] but got [“some”, “thing”, nil] 18 … Read more