method

levenshtein_distance

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Rails::Generators

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

levenshtein_distance(str1, str2) protected

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

Show source
Register or log in to add new notes.