title: How to check if a value exists in an array in Ruby
body: <p>I have a value <code>'Dog'</code> and an array <code>['Cat', 'Dog', 'Bird']</code>. </p>
  
  <p>How do I check if it exists in the array without looping through it? Is there a simple way of checking if the value exists, nothing more?</p>