[前][次][番号順一覧][スレッド一覧]

ruby-changes:22535

From: knu <ko1@a...>
Date: Tue, 14 Feb 2012 01:05:13 +0900 (JST)
Subject: [ruby-changes:22535] knu:r34584 (trunk): Mention Kernel#respond_to?.

knu	2012-02-14 01:05:00 +0900 (Tue, 14 Feb 2012)

  New Revision: 34584

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=34584

  Log:
    Mention Kernel#respond_to?.

  Modified files:
    trunk/NEWS

Index: NEWS
===================================================================
--- NEWS	(revision 34583)
+++ NEWS	(revision 34584)
@@ -23,6 +23,8 @@
     * 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 @@
     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.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]