From 4349b42e82ff95fab9d66dd54686bf76b12a5dba Mon Sep 17 00:00:00 2001 From: knu Date: Mon, 13 Feb 2012 16:05:00 +0000 Subject: Mention Kernel#respond_to?. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- NEWS | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NEWS b/NEWS index 32480e014f..116b34a2a3 100644 --- a/NEWS +++ b/NEWS @@ -23,6 +23,8 @@ with all sufficient information, see the ChangeLog file. * incompatible changes: * system() and exec() closes non-standard file descriptors (The default of :close_others option is changed to true by default.) + * respond_to? against a protected method now returns false unless + the second argument is true. * Signal * incompatible changes: @@ -72,3 +74,6 @@ with all sufficient information, see the ChangeLog file. Also, the close-on-exec flag is set by default for all new file descriptors. This means file descriptors doesn't inherit to spawned process unless explicitly requested such as system(..., fd=>fd). + + * Kernel#respond_to? against a protected method now returns false + unless the second argument is true. -- cgit v1.2.3