mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add NEWS entry about Module#name performance (#2779)
This commit is contained in:
parent
5220145ea2
commit
3e9221d94a
Notes:
git
2019-12-25 04:03:16 +09:00
Merged-By: XrXr
1 changed files with 3 additions and 0 deletions
3
NEWS
3
NEWS
|
@ -434,6 +434,9 @@ Module::
|
|||
* Module#autoload? now takes an +inherit+ optional argument, like
|
||||
Module#const_defined?. [Feature #15777]
|
||||
|
||||
* Module#name and Module#inspect no longer search through all defined
|
||||
constants when the receiver is anonymous. [Feature #15765]
|
||||
|
||||
* Module#name now always returns a frozen String. The returned String is
|
||||
always the same for a given Module. This change is
|
||||
experimental. [Feature #16150]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue