title: Capitalize, swapcase and reverse in Ruby
body: <p>I have a challenging Ruby problem:</p>
  
  <p>I want to convert "howdy" to "YDWOh" and "how are you" to "uoy era WOh".</p>
  
  <p>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?</p>