title: Measure the distance between two strings with Ruby?
body: <p>Can I measure the distance between two strings with Ruby?</p>
  
  <p><strong>I.e.:</strong></p>
  
  <pre><code>compare('Test', 'est') # Returns 1
  compare('Test', 'Tes') # Returns 1
  compare('Test', 'Tast') # Returns 1
  compare('Test', 'Taste') # Returns 2
  compare('Test', 'tazT') # Returns 5
  </code></pre>