method
suggestions

suggestions(license)
public
Hide source
# File lib/rubygems/util/licenses.rb, line 372 def self.suggestions(license) by_distance = IDENTIFIERS.group_by do |identifier| levenshtein_distance(identifier, license) end lowest = by_distance.keys.min return unless lowest < license.size by_distance[lowest] end