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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
41f7aa646f
commit
dd2ebf4d78
@ -1,3 +1,9 @@
|
|||||||
|
Sun Oct 9 23:05:53 2016 Prathamesh Sonpatki <csonpatki@gmail.com>
|
||||||
|
|
||||||
|
* 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@ruby-lang.org>
|
Sun Oct 9 11:37:19 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* vm_core.h (VM_ASSERT): stringify expr here before expansion in
|
* vm_core.h (VM_ASSERT): stringify expr here before expansion in
|
||||||
|
2
array.c
2
array.c
@ -5716,7 +5716,7 @@ rb_ary_dig(int argc, VALUE *argv, VALUE self)
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* Array#sum method may not respect method redefinition of "+" methods
|
* Array#sum method may not respect method redefinition of "+" methods
|
||||||
* such as Fixnum#+.
|
* such as Integer#+.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
2
class.c
2
class.c
@ -1645,7 +1645,7 @@ rb_singleton_class_get(VALUE obj)
|
|||||||
* Returns the singleton class of \a obj. Creates it if necessary.
|
* Returns the singleton class of \a obj. Creates it if necessary.
|
||||||
*
|
*
|
||||||
* \param obj an arbitrary object.
|
* \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.
|
* \return the singleton class.
|
||||||
*
|
*
|
||||||
* \post \a obj has its own singleton class.
|
* \post \a obj has its own singleton class.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user