diff options
| author | Jean Boussier <jean.boussier@gmail.com> | 2026-02-02 16:40:21 +0100 |
|---|---|---|
| committer | Jean Boussier <jean.boussier@gmail.com> | 2026-02-02 17:17:06 +0100 |
| commit | a2ca4aa9ae9b917616b27d4605162003c7009269 (patch) | |
| tree | cbd9575d6185462e0437be28badc93c1df43b9ed | |
| parent | 3cbdedb62095db19348355a5ab43d2a490012f40 (diff) | |
[DOC] Update incorrect class documentation
`RCLASS_PRIME_CLASSEXT_PRIME_WRITABLE` doesn't exist, it's
`RCLASS_PRIME_CLASSEXT_WRITABLE`.
| -rw-r--r-- | class.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |
