End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
DidYouMean::MethodNameChecker.new
new(exception)
lib/did_you_mean/spell_checkers/method_name_checker.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/did_you_mean/spell_checkers/method_name_checker.rb, line 42
def initialize(exception)
@method_name = exception.name
@receiver = exception.receiver
@private_call = exception.respond_to?(:private_call?) ? exception.private_call? : false
end
No documentation available