module Repokeeper::Utils

Public Class Methods

edit_distance(str1, str2) click to toggle source

calculates levinstein distance of two strings

# File lib/repokeeper/utils.rb, line 6
def self.edit_distance(str1, str2)
  Levenshtein.distance(str1, str2)
end