ruby-changes:44309
From: nobu <ko1@a...>
Date: Sun, 9 Oct 2016 23:06:03 +0900 (JST)
Subject: [ruby-changes:44309] nobu:r56382 (trunk): replace Fixnum with Integer in rdoc [ci skip]
nobu 2016-10-09 23:05:57 +0900 (Sun, 09 Oct 2016) New Revision: 56382 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56382 Log: replace Fixnum with Integer in rdoc [ci skip] * array.c, class.c: Fixed documentation where Fixnum was referred directly to use Integer, as Fixnum and Bignum are now unified into Integer and direct usage is deprecated. [Fix GH-1459] Modified files: trunk/ChangeLog trunk/array.c trunk/class.c Index: ChangeLog =================================================================== --- ChangeLog (revision 56381) +++ ChangeLog (revision 56382) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Oct 9 23:05:53 2016 Prathamesh Sonpatki <csonpatki@g...> + + * array.c, class.c: Fixed documentation where Fixnum was referred + directly to use Integer, as Fixnum and Bignum are now unified + into Integer and direct usage is deprecated. [Fix GH-1459] + Sun Oct 9 11:37:19 2016 Nobuyoshi Nakada <nobu@r...> * vm_core.h (VM_ASSERT): stringify expr here before expansion in Index: class.c =================================================================== --- class.c (revision 56381) +++ class.c (revision 56382) @@ -1645,7 +1645,7 @@ rb_singleton_class_get(VALUE obj) https://github.com/ruby/ruby/blob/trunk/class.c#L1645 * Returns the singleton class of \a obj. Creates it if necessary. * * \param obj an arbitrary object. - * \throw TypeError if \a obj is a Fixnum or a Symbol. + * \throw TypeError if \a obj is a Integer or a Symbol. * \return the singleton class. * * \post \a obj has its own singleton class. Index: array.c =================================================================== --- array.c (revision 56381) +++ array.c (revision 56382) @@ -5716,7 +5716,7 @@ rb_ary_dig(int argc, VALUE *argv, VALUE https://github.com/ruby/ruby/blob/trunk/array.c#L5716 * * * Array#sum method may not respect method redefinition of "+" methods - * such as Fixnum#+. + * such as Integer#+. * */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/