summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-05 01:53:30 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-05 01:53:30 +0000
commit0de9b0fee7dbe174e29208007ce9cb91d7487ea6 (patch)
treeb0150a860ba72ee77388d451fbdb1be75f6fc309 /NEWS
parentbc4cda4496450d262cd598fd9f0d038726a612fd (diff)
NEWS
* NEWS: about __callee__ and Module#prepend. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS7
1 files changed, 7 insertions, 0 deletions
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.