Actions
Feature #10881
closedNoMethodError#receiever
Status:
Closed
Assignee:
-
Target version:
-
Description
I would like NoMethodError
to have receiver
method:
receiver = "receiver"
exception = receiver.doesnt_exist rescue $!
exception.receiver == receiver # => true
This helps did_you_mean gem implement its features without having native C exceptions, and also makes it easier to add "did you mean?" feature to irb. Let mw know what you think. Thanks!
Actions
Like0
Like0Like0Like0