summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-10-09 12:03:52 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-10-09 12:03:52 +0900
commit9ee99fbd8a3ea38d6286e4ecdfab146ee4a00eb5 (patch)
tree61fdbb25f9e76551f0a2ac59766a3bea0a428095
parent6944b927bdaaa9c27407eaa5ce411b9bad75af5b (diff)
rb_const_set sets the class path now
-rw-r--r--random.c1
1 files changed, 0 insertions, 1 deletions
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);