Let’s say I have an array of sentences:
a = ["I love pie", "I love you more and more each day", "every day is a good day"]
I want to test each word in the sentence. Because ruby is so awesome I thought a.each.each might work but it doesn’t. Is there a clean way to this without having to nest an each inside of an each?
or a slightly longer format if: