From 0dbe3af417a0333b03dc1ebe81f228f366e80c23 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sat, 9 Mar 2024 13:58:01 +0100 Subject: [PATCH] Fix the signature of Module#name in the API docs --- variable.c | 4 ++-- 1 file 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 mod. Returns nil for anonymous modules. + * Returns the name of the module mod. Returns +nil+ for anonymous modules. */ VALUE