From 09c74a170219818e8317806df170f72812db0ef8 Mon Sep 17 00:00:00 2001 From: Lars Kanis Date: Mon, 22 Feb 2021 16:35:47 +0100 Subject: [DOC] Fix copy+paste mistake [ci skip] It was introduced in commit 089b7a84606925e885fe91050483a352735aa91e . --- doc/extension.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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); -- cgit v1.2.3