title: Giving parameters to ampersand block
body: <p>If we have a method on a collection that takes a block with another method executed on each element, we can write it shorter using ampersand. For example: if we have an array of integers and we want to remove the odd numbers we can do this:</p>
  
  <pre><code>[1,2,3,4,5,6,7,8].reject {|x| x.odd?}
  </code></pre>
  
  <p>Using ampersand, we can write this:</p>
  
  <pre><code>[1,2,3,4,5,6,7,8].reject(&amp;:odd?)
  </code></pre>
  
  <p>Let's say we have an array of strings, and we want to remove the elements containing <code>'a'</code>. We can write the solution like this:</p>
  
  <pre><code>['abc','cba','cbc','cdc','dca','cad','dc','cc].reject {|x| x.include? 'a'}
  </code></pre>
  
  <p>How do we write this using the ampersand syntax (if it's possible)?</p>