summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-20 08:29:41 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-20 08:29:41 +0000
commitf1f05e75cdae18a022aea39a4011c18d9f513c97 (patch)
treee6fe04344d0c9395623717214340c51e93737d87 /NEWS
parentea01ffa56951724708858b982d7aa64504cc412c (diff)
* NEWS: fix the description for Refinements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS11
1 files changed, 4 insertions, 7 deletions
diff --git a/NEWS b/NEWS
index 041596e18f..1a9a3d5e1e 100644
--- a/NEWS
+++ b/NEWS
@@ -70,8 +70,6 @@ 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]
* added Kernel#__dir__ which returns a current dirname.
* added Kernel#caller_locations which returns an array of
frame information objects.
@@ -102,11 +100,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.
- [experimental]
- * added Module#refinements, which returns refinements defined in the
- receiver. [experimental]
- * added Module#using, which imports refinements into the receiver.
- [experimental]
+ require "refinement" is necessary to use it. [experimental]
* extended method:
* Module#define_method accepts a UnboundMethod from a Module.
* Module#const_get accepts a qualified constant string, e.g.
@@ -184,6 +178,9 @@ with all sufficient information, see the ChangeLog file.
* toplevel
* 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]
* cgi
* Add HTML5 tag maker.