From 9ee99fbd8a3ea38d6286e4ecdfab146ee4a00eb5 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 9 Oct 2020 12:03:52 +0900 Subject: rb_const_set sets the class path now --- random.c | 1 - 1 file changed, 1 deletion(-) (limited to 'random.c') diff --git a/random.c b/random.c index 587e93c89d..1dd4ccd20f 100644 --- a/random.c +++ b/random.c @@ -1688,7 +1688,6 @@ InitVM_Random(void) rb_undef_alloc_func(base); rb_cRandom = rb_define_class("Random", base); rb_const_set(rb_cRandom, id_base, base); - rb_set_class_path(base, rb_cRandom, "Base"); rb_define_alloc_func(rb_cRandom, random_alloc); rb_define_method(base, "initialize", random_init, -1); rb_define_method(base, "rand", random_rand, -1); -- cgit v1.2.3