From: mail@... Date: 2015-02-21T20:22:59+00:00 Subject: [ruby-core:68215] [Ruby trunk - Feature #10881] [Open] NoMethodError#receiever Issue #10881 has been reported by Yuki Nishijima. ---------------------------------------- Feature #10881: NoMethodError#receiever https://bugs.ruby-lang.org/issues/10881 * Author: Yuki Nishijima * Status: Open * Priority: Normal * Assignee: ---------------------------------------- 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! -- https://bugs.ruby-lang.org/