title: converting an array of strings to an array of integers in Ruby
body: <p>Running the following:</p>
  
  <pre><code>print ['1','2','3'].each { |j| j.to_i }
  </code></pre>
  
  <p>generates the output:</p>
  
  <pre><code>["1", "2", "3"]
  </code></pre>
  
  <p>I'd like to understand why it doesn't generate:</p>
  
  <pre><code>[1,2,3]
  </code></pre>
  
  <p>Thanks!</p>