mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* enumerator.c: rdoc fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
87e0df89d2
commit
673e1b9276
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ enumerator_init(VALUE enum_obj, VALUE obj, VALUE meth, int argc, VALUE *argv, VA
|
|||
* p fib.take(10) # => [1, 1, 2, 3, 5, 8, 13, 21, 34, 55]
|
||||
*
|
||||
* The optional parameter can be used to specify how to calculate the size
|
||||
* in a lazy fashion (see Enumerable#size). It can either be a value or
|
||||
* in a lazy fashion (see Enumerator#size). It can either be a value or
|
||||
* a callable object.
|
||||
*
|
||||
* In the second, deprecated, form, a generated Enumerator iterates over the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue