diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-01-01 11:36:54 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-01-01 18:55:52 +0900 |
commit | fae0b664315c23ef7db451f6241d256c12217051 (patch) | |
tree | 5dfc239c5976f358a61021e2b14660d63c5d1c92 /random.c | |
parent | 84891bffe8e68e12a7881d2bbae0db8267035e8a (diff) | |
download | ruby-fae0b664315c23ef7db451f6241d256c12217051.tar.gz |
Remove deprecated Random::DEFAULT [Feature #17351]
Diffstat (limited to 'random.c')
-rw-r--r-- | random.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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); |