From 2811d9d224645ea714c3d20ef3d0e6a6661d441f Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Sun, 18 Dec 2022 19:18:35 +0900 Subject: NEWS.md: Tweak "Constant lookup when defining a class/module" --- NEWS.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NEWS.md b/NEWS.md index ece6ccad45..4f33b847cd 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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 -- cgit v1.2.3