summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-25 08:06:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-25 08:06:43 +0000
commit7c3d0ce3ccd5b3c1489dac2823f38d78f439456d (patch)
tree1bfd1157021a735da8a216c3331ee7ea030d6d65 /NEWS
parente6f1e3f49db1694116d286666ccaa026cad61f3e (diff)
method transplanting
* proc.c (rb_mod_define_method): allow method transplanting from a module to either class or module. [ruby-core:34267][Feature #4254] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index f51398e948..c1f4293543 100644
--- a/NEWS
+++ b/NEWS
@@ -49,6 +49,10 @@ with all sufficient information, see the ChangeLog file.
* added LoadError#path method to return the file name that could not be
loaded.
+ * Module
+ * extended method:
+ * Module#define_method accepts a UnboundMethod from a Module.
+
* NilClass
* added method:
* added nil.to_h which returns {}