mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC] Fix function name in example
This commit is contained in:
parent
4a55f501ef
commit
1a20bb1c98
Notes:
git
2022-03-01 09:59:31 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ RBIMPL_ATTR_NONNULL(())
|
|||
* init_Foo(void)
|
||||
* {
|
||||
* foo = rb_eval_string("...");
|
||||
* rb_define_global_variable("$foo", &foo);
|
||||
* rb_define_variable("$foo", &foo);
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue