title: Determining if an array of strings contains a certain substring in ruby
body: <p>I have a simple ruby question.  I have an array of strings.  I'd like to determine if that array contains a substring of any of the strings. As an example</p>
  
  <pre><code>a = ['cat','dog','elephant']
  a.to_s.include?('ele')
  </code></pre>
  
  <p>Is this the best way to do it?</p>
  
  <p>Thanks.</p>