I have an array word_array, and I'd like to add all the words of sentences to it. For example: 
word_array = []
sentence_1 = "my first sentence"
sentence_2 = "my second sentence"
and then have:
word_array = ["my", "first", "sentence", "my", "second", "sentence"]
If I use split():
word_array << sentence_1.split
word_array << sentence_2.split 
I get:
word_array = [["my", "first", "sentence"], ["my", "second", "sentence"]]
How can I avoid having a 2D array here?