diff options
author | Lars Kanis <[email protected]> | 2021-02-22 16:35:47 +0100 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-02-23 10:48:31 +0900 |
commit | 09c74a170219818e8317806df170f72812db0ef8 (patch) | |
tree | 6eabfbaa4f58698f2850bfd0b6467e9a5ce5e07e /doc | |
parent | 7d4a3ac0c5a004a410c425d334975e09420f47cd (diff) |
[DOC] Fix copy+paste mistake [ci skip]
It was introduced in commit 089b7a84606925e885fe91050483a352735aa91e .
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4211
Diffstat (limited to 'doc')
-rw-r--r-- | doc/extension.rdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/extension.rdoc b/doc/extension.rdoc index 50320502f1..f28f401381 100644 --- a/doc/extension.rdoc +++ b/doc/extension.rdoc @@ -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); |