diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2019-12-24 14:02:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-24 14:02:50 -0500 |
commit | 3e9221d94a12b54c1285923b642364acdbc31c7e (patch) | |
tree | c99b339c8a6e2c265fad13b5d63911e48231029c | |
parent | 5220145ea289d9eb955b373f31773fab2d4f0271 (diff) |
Add NEWS entry about Module#name performance (#2779)
Notes
Notes:
Merged-By: XrXr
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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] |