aboutsummaryrefslogtreecommitdiffstats
path: root/variable.c
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2023-12-06 19:48:55 +1300
committerGitHub <noreply@github.com>2023-12-06 06:48:55 +0000
commit7e05e9ff945c4e6d9fffebafc8037e28d747f0b7 (patch)
tree46b802765ed60d482f52a8021f0d2ea3cbe22a88 /variable.c
parent888051802b7a0d38303c946f1349b2c0daf6239a (diff)
downloadruby-7e05e9ff945c4e6d9fffebafc8037e28d747f0b7.tar.gz
Fix incorrect "nested_fake_name" documentation. (#9135)
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c
index b3c74c2596..4c2bc5c97e 100644
--- a/variable.c
+++ b/variable.c
@@ -196,7 +196,7 @@ is_constant_path(VALUE name)
* n::M.name #=> "fake_name::M"
* N = n
*
- * N.name #=> "nested_fake_name"
+ * N.name #=> "N"
* N::M.name #=> "N::M"
*/