Update Complex#finite? documentation

to state what it really does.

[Fix GH-1848]

From: Christian Bruckmayer <cbruckmayer@suse.com>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-03-26 00:02:19 +00:00
parent f28d6165f6
commit ba77b725da

View File

@ -1255,7 +1255,7 @@ nucomp_inspect(VALUE self)
* call-seq: * call-seq:
* cmp.finite? -> true or false * cmp.finite? -> true or false
* *
* Returns +true+ if +cmp+'s magnitude is a finite number, * Returns +true+ if +cmp+'s real and imaginary values are both finite numbers,
* otherwise returns +false+. * otherwise returns +false+.
*/ */
static VALUE static VALUE