aboutsummaryrefslogtreecommitdiffstats
path: root/numeric.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-28 11:58:21 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-12-28 18:35:03 +0900
commit40e7aefebad412bde50fa9bdadcc8405f7605355 (patch)
tree33a440e64dfe2d20e01bb30da6a89e8ab1f0318c /numeric.c
parentb948b1a4e1f8a4a697bbc76873d728afcdc1694a (diff)
downloadruby-40e7aefebad412bde50fa9bdadcc8405f7605355.tar.gz
Remove obsolete Fixnum and Bignum
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/numeric.c b/numeric.c
index d6fe05d8e8..1de11d1284 100644
--- a/numeric.c
+++ b/numeric.c
@@ -6290,10 +6290,6 @@ Init_Numeric(void)
rb_gc_register_mark_object(rb_fix_to_s_static[i]);
}
- /* An obsolete class, use Integer */
- rb_define_const(rb_cObject, "Fixnum", rb_cInteger);
- rb_deprecate_constant(rb_cObject, "Fixnum");
-
rb_cFloat = rb_define_class("Float", rb_cNumeric);
rb_undef_alloc_func(rb_cFloat);