title: Why is my while loop getting stuck? Did I forget a step?
body: <p>I'm still working my way through some exercises and I'm sure this isn't the first time this question has been brought up on stack... but I am interested in pursuing this question in the way that I would interpret to write the code so I would love some help figuring out how to make my approach work.</p>
  
  <p>It's the pig latin one :) 
  Basically. If you put in a word into the variable... or two words, it should translate those words into what is called pig latin. Pig latin takes a word like hello and changes it to ellohay. In pig latin, the words have to begin with a vowel. So you can even have the word "closed" and it should say "osedclay". I've decided to approach this with a while loop. While my rspec check works with the first two checks... it seems to get stuck in an infinite loop when it starts checking the third word (which happens to be "cherry")</p>
  
  <p>Thoughts anyone?</p>
  
  <pre><code>def translate(word)
  separated = word.split("")
  while separated[0] !=("a" || "e" || "i" || "o" || "u")
      letter = separated.shift
      separated &lt;&lt; letter
      separated
  end
      word = separated.join("")
      word + "ay"
  end
  </code></pre>