diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-05 01:53:30 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-05 01:53:30 +0000 |
commit | 0de9b0fee7dbe174e29208007ce9cb91d7487ea6 (patch) | |
tree | b0150a860ba72ee77388d451fbdb1be75f6fc309 /NEWS | |
parent | bc4cda4496450d262cd598fd9f0d038726a612fd (diff) | |
download | ruby-0de9b0fee7dbe174e29208007ce9cb91d7487ea6.tar.gz |
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-- | NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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. |