1
0
Fork 0
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:
Lars Kanis 2022-02-25 14:22:22 +01:00 committed by Nobuyoshi Nakada
parent 4a55f501ef
commit 1a20bb1c98
Notes: git 2022-03-01 09:59:31 +09:00

View file

@ -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);
* }
* ```
*