From fae0b664315c23ef7db451f6241d256c12217051 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 1 Jan 2022 11:36:54 +0900 Subject: Remove deprecated Random::DEFAULT [Feature #17351] --- random.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'random.c') diff --git a/random.c b/random.c index f3dec5cca2..dc7e4771cd 100644 --- a/random.c +++ b/random.c @@ -1816,9 +1816,6 @@ InitVM_Random(void) rb_define_method(rb_cRandom, "seed", random_get_seed, 0); #endif - rb_define_const(rb_cRandom, "DEFAULT", rb_cRandom); - rb_deprecate_constant(rb_cRandom, "DEFAULT"); - rb_define_singleton_method(rb_cRandom, "srand", rb_f_srand, -1); rb_define_singleton_method(rb_cRandom, "rand", random_s_rand, -1); rb_define_singleton_method(rb_cRandom, "bytes", random_s_bytes, 1); -- cgit v1.2.1