title: How to print a Ruby Array on one line
body: <p>I have an array, and I need to print it out all on one line:</p>
  
  <pre><code>numbers = Array[[2, 4, 4, 5, 5, 7, 9]
  </code></pre>
  
  <p>Instead of separate lines how can I code this? I heard <code>Array.join('')</code> but I tried this code and it wouldn't run.</p>