1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[DOC] Fix copy+paste mistake [ci skip]

It was introduced in commit 089b7a8460 .
This commit is contained in:
Lars Kanis 2021-02-22 16:35:47 +01:00 committed by Nobuyoshi Nakada
parent 7d4a3ac0c5
commit 09c74a1702
Notes: git 2021-02-23 10:48:56 +09:00

View file

@ -817,7 +817,7 @@ Here's the example of an initializing function.
/* define DBM class */
VALUE cDBM = rb_define_class("DBM", rb_cObject);
/* Redefine DBM.allocate
rb_define_alloc_func(rb_cDBM, fdbm_alloc);
rb_define_alloc_func(cDBM, fdbm_alloc);
/* DBM includes Enumerable module */
rb_include_module(cDBM, rb_mEnumerable);