mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 09:04:05 +02:00
* Backport r39438 from trunk:
* enumerator.c: rdoc fix git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3678e7eb4f
commit
28fcad35fd
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]
|
* 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
|
* 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.
|
* a callable object.
|
||||||
*
|
*
|
||||||
* In the second, deprecated, form, a generated Enumerator iterates over the
|
* In the second, deprecated, form, a generated Enumerator iterates over the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue