End of Life Ruby 3.1 has reached end of life and gets no more fixes. 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.1.3/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