* 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:
marcandre 2013-02-23 17:41:49 +00:00
parent 3678e7eb4f
commit 28fcad35fd

View file

@ -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