ruby check if array of user optin true code example Example: ruby array has element >> ['Cat', 'Dog', 'Bird'].include? 'Dog' => true