[#66126] Creation/Conversion methods/functions table for Ruby types — SASADA Koichi <ko1@...>
Hi,
5 messages
2014/11/07
[#66248] [ruby-trunk - Feature #10423] [PATCH] opt_str_lit*: avoid literal string allocations — normalperson@...
Issue #10423 has been updated by Eric Wong.
3 messages
2014/11/13
[#66595] [ruby-trunk - Bug #10557] [Open] Block not given when the argument is a string — bartosz@...
Issue #10557 has been reported by Bartosz Kopinski.
3 messages
2014/11/30
[ruby-core:66087] [ruby-trunk - Bug #9542] Delegator does not delegate protected methods
From:
nobu@...
Date:
2014-11-05 00:59:30 UTC
List:
ruby-core #66087
Issue #9542 has been updated by Nobuyoshi Nakada. Currently no way to tell if a method is called from a "protected" scope. ---------------------------------------- Bug #9542: Delegator does not delegate protected methods https://bugs.ruby-lang.org/issues/9542#change-49800 * Author: Konstantinos Karachalios * Status: Open * Priority: Normal * Assignee: * Category: * Target version: * ruby -v: 2.1.0p0 * Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- The Delegator of the "delegate" standard library has changed its behaviour since 2.0 because of the change in "respond_to?" concerning protected methods. As of ruby 2.0, Delegator does not delegate protected methods any more. In case this is indeed a bug, I will prepare a pull request on github fixing the issue. On the other hand, if is intentional behaviour, something has to change in the documentation for "delegate" as well as [Delegator#respond_to_missing?](http://ruby-doc.org/stdlib-2.1.0/libdoc/delegate/rdoc/Delegator.html#method-i-respond_to_missing-3F) (at least the second argument's name). I can help with the code but I am not so confident in my documentation skills. ---Files-------------------------------- the_bug.rb (283 Bytes) output.txt (589 Bytes) -- https://bugs.ruby-lang.org/