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