mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Fix the signature of Module#name in the API docs
This commit is contained in:
parent
40ecad0ad7
commit
0dbe3af417
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue