From 0de9b0fee7dbe174e29208007ce9cb91d7487ea6 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 5 Jul 2012 01:53:30 +0000 Subject: [PATCH] NEWS * NEWS: about __callee__ and Module#prepend. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- NEWS | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/NEWS b/NEWS index 3f45b2f6e9..c38fd4e4c1 100644 --- a/NEWS +++ b/NEWS @@ -43,6 +43,9 @@ with all sufficient information, see the ChangeLog file. (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. + * __callee__ has returned to the original behavior, and now + returns the called name but not the original name in an + aliased method. * LoadError * added method: @@ -50,6 +53,10 @@ with all sufficient information, see the ChangeLog file. loaded. * Module + * added method: + * added Module#prepend which is similar to Module#include, + however a mehtod in the prepended module overrides the + corresponding method in the prepending module. * extended method: * Module#define_method accepts a UnboundMethod from a Module.