Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
DidYouMean::KeyErrorChecker#exact_matches
exact_matches
lib/did_you_mean/spell_checkers/key_error_checker.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/did_you_mean/spell_checkers/key_error_checker.rb, line 16
def exact_matches
@exact_matches ||= @keys.select { |word| @key == word.to_s }.map { |obj| format_object(obj) }
end
No documentation available