summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2026-02-02 16:40:21 +0100
committerJean Boussier <jean.boussier@gmail.com>2026-02-02 17:17:06 +0100
commita2ca4aa9ae9b917616b27d4605162003c7009269 (patch)
treecbd9575d6185462e0437be28badc93c1df43b9ed
parent3cbdedb62095db19348355a5ab43d2a490012f40 (diff)
[DOC] Update incorrect class documentation
`RCLASS_PRIME_CLASSEXT_PRIME_WRITABLE` doesn't exist, it's `RCLASS_PRIME_CLASSEXT_WRITABLE`.
-rw-r--r--class.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/class.c b/class.c
index bd017b51a5..81e740b209 100644
--- a/class.c
+++ b/class.c
@@ -41,7 +41,7 @@
* This is done for classes defined from C to allow storing them in global variables.
* 1: RUBY_FL_SINGLETON
* This class is a singleton class.
- * 2: RCLASS_PRIME_CLASSEXT_PRIME_WRITABLE
+ * 2: RCLASS_PRIME_CLASSEXT_WRITABLE
* This class's prime classext is the only classext and writable from any boxes.
* If unset, the prime classext is writable only from the root box.
* 3: RCLASS_IS_INITIALIZED
@@ -52,7 +52,7 @@
/* Flags of T_ICLASS
*
- * 2: RCLASS_PRIME_CLASSEXT_PRIME_WRITABLE
+ * 2: RCLASS_PRIME_CLASSEXT_WRITABLE
* This module's prime classext is the only classext and writable from any boxes.
* If unset, the prime classext is writable only from the root box.
* 4: RCLASS_BOXABLE
@@ -66,7 +66,7 @@
* This is done for classes defined from C to allow storing them in global variables.
* 1: <reserved>
* Ensures that RUBY_FL_SINGLETON is never set on a T_MODULE. See `rb_class_real`.
- * 2: RCLASS_PRIME_CLASSEXT_PRIME_WRITABLE
+ * 2: RCLASS_PRIME_CLASSEXT_WRITABLE
* This module's prime classext is the only classext and writable from any boxes.
* If unset, the prime classext is writable only from the root box.
* 3: RCLASS_IS_INITIALIZED