summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-19 05:53:41 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-19 05:53:41 +0000
commite77f9fcb13a157c2478a0e78cdb0b9696e8ded8c (patch)
tree146acf56d92ac965489f640dcadefb33c6f05124 /NEWS
parent19d2532a7920ab6da8b5f7977d4439fa0a198340 (diff)
proc.c: ArgumentError if no block
* proc.c (rb_mod_define_method): now requires a block direct to this method call. [ruby-core:69655] [Bug #11283] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 05ae35a978..19171f3169 100644
--- a/NEWS
+++ b/NEWS
@@ -61,6 +61,11 @@ with all sufficient information, see the ChangeLog file.
* IO
* IO#close doesn't raise when the IO object is closed. [Feature #10718]
+* Module
+ * Module#define_method and Object.define_singleton_method now
+ require method body, Proc, Method, or a block, and raise
+ ArgumentError if no block is given directly. [Bug #11283]
+
* pack/unpack (Array/String)
* j and J directives for pointer width integer type. [Feature #11215]