[#69616] [Ruby trunk - Feature #11258] add 'x' mode character for O_EXCL — cremno@...
Issue #11258 has been updated by cremno phobia.
3 messages
2015/06/16
[#69643] [Ruby trunk - Misc #11276] [RFC] compile.c: convert to use ccan/list — normalperson@...
Issue #11276 has been updated by Eric Wong.
3 messages
2015/06/17
[#69751] [Ruby trunk - Bug #11001] 2.2.1 Segmentation fault in reserve_stack() function. — kubo@...
Issue #11001 has been updated by Takehiro Kubo.
3 messages
2015/06/27
[ruby-core:69641] [Ruby trunk - Feature #10881] NoMethodError#receiever
From:
mail@...
Date:
2015-06-17 23:41:35 UTC
List:
ruby-core #69641
Issue #10881 has been updated by Yuki Nishijima. Thanks Matsumoto-san. I realized that the last line in the example above is wrong, it has to use `#equal?` instead of `#==`: ``` exception.receiver.equal?(receiver) # => true ``` ---------------------------------------- Feature #10881: NoMethodError#receiever https://bugs.ruby-lang.org/issues/10881#change-52994 * 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/