I have a challenging Ruby problem:
I want to convert "howdy" to "YDWOh" and "how are you" to "uoy era WOh".
which is essentially capitalize, swapcase and reverse functions. Capitalize and swapcase is only for the first word of the sentence. How do I do this when I have more than one word in the sentence?