Remove obsolete Fixnum and Bignum

This commit is contained in:
Nobuyoshi Nakada 2020-12-28 11:58:21 +09:00
parent b948b1a4e1
commit 40e7aefeba
Notes: git 2021-12-28 18:35:22 +09:00
4 changed files with 20 additions and 26 deletions

View file

@ -7169,10 +7169,6 @@ rb_int_powm(int const argc, VALUE * const argv, VALUE const num)
void
Init_Bignum(void)
{
/* An obsolete class, use Integer */
rb_define_const(rb_cObject, "Bignum", rb_cInteger);
rb_deprecate_constant(rb_cObject, "Bignum");
rb_define_method(rb_cInteger, "coerce", rb_int_coerce, 1);
#ifdef USE_GMP