* NEWS: about __callee__ and Module#prepend.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-07-05 01:53:30 +00:00
Родитель bc4cda4496
Коммит 0de9b0fee7
1 изменённых файлов: 7 добавлений и 0 удалений

7
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.) (The default of :close_others option is changed to true by default.)
* respond_to? against a protected method now returns false unless * respond_to? against a protected method now returns false unless
the second argument is true. 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 * LoadError
* added method: * added method:
@ -50,6 +53,10 @@ with all sufficient information, see the ChangeLog file.
loaded. loaded.
* Module * 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: * extended method:
* Module#define_method accepts a UnboundMethod from a Module. * Module#define_method accepts a UnboundMethod from a Module.