We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74d3054 commit d505a45Copy full SHA for d505a45
1 file changed
evaluation/calculator.rb
@@ -33,7 +33,7 @@ def report(message, &block)
33
DidYouMean::JaroWinkler.module_eval do
34
module_function
35
def distance(str1, str2)
36
- ::JaroWinkler.distance(str1, str2)
+ ::JaroWinkler.similarity(str1, str2)
37
end if RUBY_ENGINE != 'jruby'
38
end
39
rescue LoadError, NameError => e
0 commit comments