[ruby-cvs:62012] akr:r54850 (trunk): Define Integer#+ instead of Bignum#+.

akr at ruby-lang.org akr at ruby-lang.org
Sat Apr 30 21:24:06 JST 2016


akr	2016-04-30 21:24:06 +0900 (Sat, 30 Apr 2016)

  New Revision: 54850

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54850

  Log:
    Define Integer#+ instead of Bignum#+.
    
    * numeric.c (rb_int_plus): Define Integer#+.
    
    * bignum.c (rb_big_plus): Don't define Bignum#+.

  Modified files:
    trunk/ChangeLog
    trunk/bignum.c
    trunk/numeric.c


More information about the ruby-cvs mailing list