diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-19 09:28:12 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-19 09:28:12 +0000 |
commit | 81f65a9e054ddcdf2d1a8507e516672dd8c7324e (patch) | |
tree | 6b6ce7ab2c9ab3be6004b00ddd8e78c6f7c192b2 /regint.h | |
parent | bc343b851d04f68ef7554a2cca0bad63a32c2b7d (diff) |
* bignum.c (Bignum#<=>): remove it because they are unified with
Integer#<=>.
* numeric.c (Integer#<=>, Fixnum#<=>): move <=> method from Fixnum to
Integer.
* numeric.c (int_cmp): add this method for Integer#<=>.
* test/-ext-/integer/test_my_integer.rb (test_my_integer_cmp): add a
test to examine Integer#<=> for unknown subclasses.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regint.h')
0 files changed, 0 insertions, 0 deletions