diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-27 23:57:55 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-27 23:57:55 +0000 |
commit | eaf9bc00ed2013307c26f0a6421e2f75de732871 (patch) | |
tree | d687424cf71e5ca5443d9ba2eb4f7472c2270428 /enumerator.c | |
parent | 7b5c2d3f9e7071a93b30f038ad07f0b104bb7e15 (diff) |
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
Diffstat (limited to 'enumerator.c')
-rw-r--r-- | enumerator.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |