summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/variable.c b/variable.c
index ca22572e73..0cd10dc765 100644
--- a/variable.c
+++ b/variable.c
@@ -119,9 +119,9 @@ rb_mod_name0(VALUE klass, bool *permanent)
/*
* call-seq:
- * mod.name -> string
+ * mod.name -> string or nil
*
- * Returns the name of the module <i>mod</i>. Returns nil for anonymous modules.
+ * Returns the name of the module <i>mod</i>. Returns +nil+ for anonymous modules.
*/
VALUE