title: Formatting Ruby's prettyprint
body: <p>Is it possible to change the width that prettyprint (<code>require 'pp'</code>) uses when formatting output? For example:</p>
  
  <pre><code>"mooth"=&gt;["booth", "month", "mooch", "morth", "mouth", "mowth", "sooth", "tooth"]
  "morth"=&gt;["forth",
   "mirth",
   "month",
   "mooth",
   "morph",
   "mouth",
   "mowth",
   "north",
   "worth"]
  </code></pre>
  
  <p>The first array is printed inline because it fits within the column width prettyprint allows (79 characters)... the second is split onto multiple lines, because it does not. But I can find no method for changing the column that this behavior starts on.</p>
  
  <p><code>pp</code> depends on <code>PrettyPrint</code> (which has ways to allow different widths for the buffer). Is there any way to change the default column width for <code>pp</code>, without rewriting it from scratch (accessing <code>PrettyPrint</code> directly)?</p>
  
  <p>Alternately, is there a similar ruby gem that provides this functionality?</p>