title: Ruby outputting to the same line as the previous output
body: <p>I am writing a Ruby script to generate a CSV file. 
  My understanding is that each line in a CSV file is a row in a table. </p>
  
  <p>Right now my script generates something looks like this</p>
  
  <pre><code>Vancouver, Calgary,
  Routes1,
  Routes2,
  Routes3,
  Vancouver, Toronto
  etc,
  etc,
  etc
  </code></pre>
  
  <p>but I need it to make it look like this to import it to a DB</p>
  
  <pre><code>Vancouver, Calgary, Routes1, Routes2, Routes3
  Vancouver, Toronto, etc etc etc..
  </code></pre>
  
  <p>My script works by looking up Vancouver and Calgary from raw data that contains the locations of the routes in different files. Then the script goes to those files to look for actual routes. Each time it finds a route (eg. Route1), the script outputs it using "puts" method. 
  The problem is that every output is on a new line. </p>
  
  <p>Is there a way to suppress the new line command when using "puts" command? </p>