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
This commit is contained in:
kazu 2018-11-27 23:57:55 +00:00
parent 7b5c2d3f9e
commit eaf9bc00ed

View File

@ -2553,7 +2553,7 @@ enum_chain_total_size(VALUE enums)
/* /*
* call-seq: * call-seq:
* obj.size -> integer * obj.size -> int, Float::INFINITY or nil
* *
* Returns the total size of the enumerator chain calculated by * Returns the total size of the enumerator chain calculated by
* summing up the size of each enumerable in the chain. If any of the * summing up the size of each enumerable in the chain. If any of the