W
Wolfgang Nádasi-Donner
Hi!
I am confused somehow with respect to "Generator#yield". The description
(ri) is...
yield(value)
------------------------------------------------------------------------
Yields an element to the generator.
It's unclear for me what this means. I would expect that the Generator
object delivers (yields) values by requirement through
"Generator#current" or "Generator#next", but what should be yielded to
an already existing Generator object?
Wolfgang Nádasi-Donner
I am confused somehow with respect to "Generator#yield". The description
(ri) is...
-------------------------------------------------------- Generator#yieldri Generator#yield
yield(value)
------------------------------------------------------------------------
Yields an element to the generator.
It's unclear for me what this means. I would expect that the Generator
object delivers (yields) values by requirement through
"Generator#current" or "Generator#next", but what should be yielded to
an already existing Generator object?
Wolfgang Nádasi-Donner