1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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:
* 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