ruby-changes:53833
From: kazu <ko1@a...>
Date: Wed, 28 Nov 2018 08:58:01 +0900 (JST)
Subject: [ruby-changes:53833] kazu:r66051 (trunk): Add Float::INFINITY or nil to call-seq of Enumerator::Chain#size [ci skip]
kazu 2018-11-28 08:57:55 +0900 (Wed, 28 Nov 2018) New Revision: 66051 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66051 Log: Add Float::INFINITY or nil to call-seq of Enumerator::Chain#size [ci skip] Modified files: trunk/enumerator.c Index: enumerator.c =================================================================== --- enumerator.c (revision 66050) +++ enumerator.c (revision 66051) @@ -2553,7 +2553,7 @@ enum_chain_total_size(VALUE enums) https://github.com/ruby/ruby/blob/trunk/enumerator.c#L2553 /* * 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/