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

add a NEWS entry for Method#inspect

This commit is contained in:
Koichi Sasada 2019-11-20 17:21:38 +09:00
parent fc22b0eaa3
commit ae818b589e

17
NEWS
View file

@ -340,13 +340,11 @@ Integer::
0b01001100[2...6] #=> 0b0011
^^^^
NilClass / TrueClass / FalseClass::
Method::
Modified methods::
Modified method::
* NilClass#to_s, TrueClass#to_s and FalseClass#to_s now always return a
frozen String. The returned String is always the same for each of these
values. This change is experimental. [Feature #16150]
* Method#inspect shows much information. [Feature #14145]
Module::
@ -369,6 +367,15 @@ Module::
always the same for a given Module. This change is
experimental. [Feature #16150]
NilClass / TrueClass / FalseClass::
Modified methods::
* NilClass#to_s, TrueClass#to_s and FalseClass#to_s now always return a
frozen String. The returned String is always the same for each of these
values. This change is experimental. [Feature #16150]
ObjectSpace::WeakMap::
Modified method::