title: Inconsistent printing with Ruby
body: <p>I am trying to print a ruby hash:</p>
  
  <pre><code>opts = {
    'one' =&gt; '1',
    'two' =&gt; '1',
    'three' =&gt; '0'
  }
  </code></pre>
  
  <p>I want the output to be</p>
  
  <pre><code>one=1
  two=1
  three=0
  </code></pre>
  
  <p>This works fine with this code on one machine which runs ruby 1.8.7</p>
  
  <pre><code>print opts.map{|k,v| k + '=' + v + "\n"}.to_s
  </code></pre>
  
  <p>But on a different machine which runs ruby 1.9, it prints</p>
  
  <pre><code>["one=1\n", "two=1\n", "three=0\n"]
  </code></pre>
  
  <p>What is going wrong?</p>