From eaf9bc00ed2013307c26f0a6421e2f75de732871 Mon Sep 17 00:00:00 2001 From: kazu Date: Tue, 27 Nov 2018 23:57:55 +0000 Subject: [PATCH] Add Float::INFINITY or nil to call-seq of Enumerator::Chain#size [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- enumerator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enumerator.c b/enumerator.c index 7cae81ed37..2eb0c24a2b 100644 --- a/enumerator.c +++ b/enumerator.c @@ -2553,7 +2553,7 @@ enum_chain_total_size(VALUE enums) /* * call-seq: - * obj.size -> integer + * obj.size -> int, Float::INFINITY or nil * * Returns the total size of the enumerator chain calculated by * summing up the size of each enumerable in the chain. If any of the