summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/variable.c b/variable.c
index 350bb582db..424730dcb9 100644
--- a/variable.c
+++ b/variable.c
@@ -2517,8 +2517,9 @@ cvar_list(void *data)
* class Two < One
* @@var2 = 2
* end
- * One.class_variables #=> [:@@var1]
- * Two.class_variables #=> [:@@var2, :@@var1]
+ * One.class_variables #=> [:@@var1]
+ * Two.class_variables #=> [:@@var2, :@@var1]
+ * Two.class_variables(false) #=> [:@@var2]
*/
VALUE