End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
DidYouMean::MethodNameChecker#corrections
corrections
lib/did_you_mean/spell_checkers/method_name_checker.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/did_you_mean/spell_checkers/method_name_checker.rb, line 48
def corrections
@corrections ||= begin
dictionary = method_names
dictionary = RB_RESERVED_WORDS + dictionary if @private_call
SpellChecker.new(dictionary: dictionary).correct(method_name) - names_to_exclude
end
end
No documentation available