title: How to convert an array of integers to an integer
body: <p>I have a ruby array that looks like this:  </p>
  
  <pre><code>[nil, 3, 4, 2]  
  </code></pre>
  
  <p>I would like to convert it to an integer, like so:<br>
  <code>342</code>  </p>
  
  <p>Is this possible, if so, how can I go about doing this?</p>