diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-19 05:53:41 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-19 05:53:41 +0000 |
commit | da2bd37dce115edc519b26c725111f18bd092160 (patch) | |
tree | 146acf56d92ac965489f640dcadefb33c6f05124 /NEWS | |
parent | 3e662572d3912dce56946cd1ad4c4521ad707f8c (diff) | |
download | ruby-da2bd37dce115edc519b26c725111f18bd092160.tar.gz |
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-- | NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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] |