Maintenance Ruby 3.3 gets fixes, but no new features. 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.3.0/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