We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
rake name:fuzzy_match
1 parent 4148dd8 commit 16062c6Copy full SHA for 16062c6
1 file changed
lib/tasks/fuzzy_match.rake
@@ -25,10 +25,10 @@ namespace :name do
25
matches = Name.fuzzy_match(query, method: method)
26
if matches.any?
27
matches.each do |match|
28
- puts "Match: #{match.name} (Similarity: #{match.score})"
+ puts "- Match: #{match.name} (Score: #{match.score})"
29
end
30
else
31
- puts 'No close matches found.'
+ puts 'No close matches found'
32
33
34
0 commit comments