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:
parent
7d4a3ac0c5
commit
09c74a1702
Notes:
git
2021-02-23 10:48:56 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue