summaryrefslogtreecommitdiff
path: root/lib/rubygems/text.rb
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <[email protected]>2022-04-27 10:11:53 +0900
committerKazuhiro NISHIYAMA <[email protected]>2022-04-27 10:13:23 +0900
commit0bab4c4addef3421f8ff1c45564f4a392b860f15 ()
tree10233f5be2533061f6522b515e5be62fba891aba /lib/rubygems/text.rb
parent72628c1ccc5e7d85fe297312d740eed929ab78bb (diff)
[DOC] Change URLs from git.io
see https://.blog/changelog/2022-04-25-git-io-deprecation/
-rw-r--r--lib/rubygems/text.rb2
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ module Gem::Text
# Returns a value representing the "cost" of transforming str1 into str2
# Vendored version of DidYouMean::Levenshtein.distance from the ruby/did_you_mean gem @ 1.4.0
- # https://git.io/JJgZI
def levenshtein_distance(str1, str2)
n = str1.length
m = str2.length