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

It was introduced in commit 089b7a84606925e885fe91050483a352735aa91e .
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);