title: Ruby: Array contained in Array, any order
body: <p>Suppose I have the following Ruby code:</p>
  
  <pre><code>array_1 = ['a', 'b']
  array_2 = ['a', 'b', 'c']
  
  some_function(array_1, array_2) # =&gt; True
  some_function(array_2, array_1) # =&gt; False
  some_function(['a', 'b'], ['a', 'd']) # =&gt; False
  some_function(['x', 'y'], array_2) # =&gt; False
  </code></pre>
  
  <p>I am pretty much looking for <code>some_function</code> to return True when Parameter 2 contains <em>all</em> of the elements in Parameter 1.</p>