From 0dbf173fe26a2c568efbbf3a6589d76dd04690c3 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 9 Oct 2016 14:05:57 +0000 Subject: 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 --- ChangeLog | 6 ++++++ array.c | 2 +- class.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 424a88e214..e2e4406282 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sun Oct 9 23:05:53 2016 Prathamesh Sonpatki + + * 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 * vm_core.h (VM_ASSERT): stringify expr here before expansion in diff --git a/array.c b/array.c index c742c4fc70..476b1c4d66 100644 --- a/array.c +++ b/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 - * such as Fixnum#+. + * such as Integer#+. * */ diff --git a/class.c b/class.c index ce2ede5c2b..8a3a708686 100644 --- a/class.c +++ b/class.c @@ -1645,7 +1645,7 @@ rb_singleton_class_get(VALUE obj) * 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. -- cgit v1.2.3