method

levenshtein_distance

v1_9_3_392 - Show latest stable - Class: Gem::Text
levenshtein_distance(str1, str2)
public

This code is based directly on the Text gem implementation Returns a value representing the “cost” of transforming str1 into str2