title: How can I check for first letter(s) in string in Ruby?
body: <p>I'm writing test file, but I can't get it pass second test, here:</p>
  
  <pre><code>def translate(word)
      if word.start_with?('a','e','i','o','u')        
        word &lt;&lt; "ay"  
      else        
        word &lt;&lt; "bay"
      end
  end
  </code></pre>
  
  <p>Is <code>start_with?</code> the right method to do the job?</p>
  
  <pre><code>describe "#translate" do
  
    it "translates a word beginning with a vowel" do
      s = translate("apple")
      s.should == "appleay"
    end
  
    it "translates a word beginning with a consonant" do
      s = translate("banana")
      s.should == "ananabay"
    end
  
    it "translates a word beginning with two consonants" do
      s = translate("cherry")
      s.should == "errychay"
    end
  end
  </code></pre>
  
  <p>EDIT:
  My solution is not complete.
  My code pass first test only because I was able to push "ay" to the end of word. What I'm missing to pass the second test is to remove the first letter if its consonant, which is "b" in "banana". </p>