1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add NEWS about Warning.[] [Feature ] [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2019-12-22 13:56:20 +09:00
parent 5de284ec78
commit 1ed87dd3c4
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

6
NEWS
View file

@ -474,6 +474,12 @@ UnboundMethod::
p Foo.instance_method(:add_1).bind(obj).call(1) #=> 2
p Foo.instance_method(:add_1).bind_call(obj, 1) #=> 2
Warning::
New method::
* Added Warning.[] and Warning.[]= to manage emit/suppress some categories of
warnings. [Feature #16345]
$LOAD_PATH::