title: Nicely formatting output to console, specifying number of tabs
body: <p>I am generating a script that is outputting information to the console. The information is some kind of statistic with a value. So much like a hash.</p>
  
  <p>So one value's name may be 8 characters long and another is 3. when I am looping through outputting the information with two \t some of the columns aren't aligned correctly.</p>
  
  <p>So for example the output might be as such:</p>
  
  <pre><code>long value name          14
  short              12
  little             13
  tiny               123421
  long name again          912421
  </code></pre>
  
  <p>I want all the values lined up correctly. Right now I am doing this:</p>
  
  <pre><code>puts "#{value_name} - \t\t #{value}"
  </code></pre>
  
  <p>How could I say for long names, to only use one tab? Or is there another solution?</p>