diff --git a/variable.c b/variable.c index ca22572e73c9dd..0cd10dc7658139 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 mod. Returns nil for anonymous modules. + * Returns the name of the module mod. Returns +nil+ for anonymous modules. */ VALUE