diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2022-12-18 19:18:35 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2022-12-18 19:18:35 +0900 |
commit | 2811d9d224645ea714c3d20ef3d0e6a6661d441f (patch) | |
tree | 5ae3329052cbbafea1badf4ce26565d98ab5f5f2 /NEWS.md | |
parent | dd338ae124182b445c688666769cd8b7930ad88c (diff) | |
download | ruby-2811d9d224645ea714c3d20ef3d0e6a6661d441f.tar.gz |
NEWS.md: Tweak "Constant lookup when defining a class/module"
Diffstat (limited to 'NEWS.md')
-rw-r--r-- | NEWS.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -601,9 +601,9 @@ The following deprecated methods are removed. ### Constant lookup when defining a class/module * When defining a class/module directly under the Object class by class/module - statement, if there is already a class/module with the same name, the statement - was handled as "open class" in Ruby 3.1 or before. Since Ruby 3.2, a new class - is defined instead. [[Feature #18832]] + statement, if there is already a class/module defined by `Module#include` + with the same name, the statement was handled as "open class" in Ruby 3.1 or before. + Since Ruby 3.2, a new class is defined instead. [[Feature #18832]] ## Stdlib compatibility issues |