зеркало из https://github.com/github/ruby.git
* NEWS: + Module.prepended and Module.prepend_features
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
eff6180e53
Коммит
d52f95dc7a
|
@ -1,3 +1,9 @@
|
|||
Sat Feb 23 08:14:43 2013 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
|
||||
|
||||
* NEWS: many additions for Ruby 2.0.0
|
||||
|
||||
* object.c: Add doc for Module.prepended
|
||||
|
||||
Sat Feb 23 07:52:53 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* template/ruby.pc.in: reorder library flags which may refer library
|
||||
|
|
2
NEWS
2
NEWS
|
@ -109,6 +109,8 @@ with all sufficient information, see the ChangeLog file.
|
|||
* added Module#prepend which is similar to Module#include,
|
||||
however a method in the prepended module overrides the
|
||||
corresponding method in the prepending module.
|
||||
* added Module.prepended and Module.prepend_features, similar
|
||||
to included and append_features.
|
||||
* added Module#refine, which extends a class or module locally.
|
||||
[experimental]
|
||||
* extended method:
|
||||
|
|
Загрузка…
Ссылка в новой задаче