зеркало из https://github.com/github/ruby.git
* NEWS: remove description about `require "refinement"'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
9cadf0c039
Коммит
04fd9aceab
|
@ -1,3 +1,7 @@
|
|||
Mon Jan 7 20:29:50 2013 Shugo Maeda <shugo@ruby-lang.org>
|
||||
|
||||
* NEWS: remove description about `require "refinement"'.
|
||||
|
||||
Mon Jan 7 20:15:49 2013 Shugo Maeda <shugo@ruby-lang.org>
|
||||
|
||||
* eval.c (Init_eval): enable Refinements by default.
|
||||
|
|
5
NEWS
5
NEWS
|
@ -104,7 +104,7 @@ with all sufficient information, see the ChangeLog file.
|
|||
however a method in the prepended module overrides the
|
||||
corresponding method in the prepending module.
|
||||
* added Module#refine, which extends a class or module locally.
|
||||
require "refinement" is necessary to use it. [experimental]
|
||||
[experimental]
|
||||
* extended method:
|
||||
* Module#define_method accepts a UnboundMethod from a Module.
|
||||
* Module#const_get accepts a qualified constant string, e.g.
|
||||
|
@ -196,8 +196,7 @@ with all sufficient information, see the ChangeLog file.
|
|||
* added method:
|
||||
* added main.define_method which defines a global function.
|
||||
* added main.using, which imports refinements into the current file or
|
||||
eval string. require "refinement" is necessary to use it.
|
||||
[experimental]
|
||||
eval string. [experimental]
|
||||
|
||||
* cgi
|
||||
* Add HTML5 tag maker.
|
||||
|
|
Загрузка…
Ссылка в новой задаче