aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-01 07:48:29 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-01 07:48:29 +0000
commitba1bd089c8445e83f99cb07563234dd8bdbf0f55 (patch)
tree803b4eb51e8ba018e6dd55b663449a62e1706a36 /NEWS
parent5f0b7f8c6f581e9c2bc25936756616993c26c6e5 (diff)
downloadruby-ba1bd089c8445e83f99cb07563234dd8bdbf0f55.tar.gz
* NEWS: add note for Module#refine, Module#refinements,
Module#using, and Kernel#using. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 596a291cd8..b63776f388 100644
--- a/NEWS
+++ b/NEWS
@@ -39,6 +39,8 @@ with all sufficient information, see the ChangeLog file.
* Kernel
* added method:
* added Kernel#Hash conversion method like Array() or Float().
+ * added Kernel#using, which imports refinements into the current scope.
+ [experimental]
* extended method:
* Kernel#warn accepts multiple args in like puts.
* Kernel#caller accepts second optional argument `n' which specify
@@ -64,6 +66,12 @@ 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#refine, which extends a class or module locally.
+ [experimental]
+ * added Module#refinements, which returns refinements defined in the
+ receiver. [experimental]
+ * added Module#using, which imports refinements into the receiver.
+ [experimental]
* extended method:
* Module#define_method accepts a UnboundMethod from a Module.
* Module#const_get accepts a qualified constant string, e.g.