From ba77b725da3065e89981b0c7a599db165cb0bd96 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 26 Mar 2018 00:02:19 +0000 Subject: [PATCH] Update Complex#finite? documentation to state what it really does. [Fix GH-1848] From: Christian Bruckmayer git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- complex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/complex.c b/complex.c index bedc99f38e..c6daefdb99 100644 --- a/complex.c +++ b/complex.c @@ -1255,7 +1255,7 @@ nucomp_inspect(VALUE self) * call-seq: * 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+. */ static VALUE