Skip to content

Commit

Permalink
Fix the signature of Module#name in the API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fxn authored and nobu committed Mar 15, 2024
1 parent 40ecad0 commit 0dbe3af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions variable.c
Expand Up @@ -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
Expand Down

0 comments on commit 0dbe3af

Please sign in to comment.