but you would still classify the enumerator getting rewind as a bug, no?
Ox0dea: hm, ok. I must still understand how everything works. Thanks for the explanation!
kbni: bear in mind that bbatsov's style guide is very good, but it's not the absolute answer for everything. a google search for "ruby style guide" yields some other interesting ones. even some core developers write ruby in their own way, so just follow your intuition.
someone opened issue #12029 that is related to the Enumerable block arguments I talked about yesterday. But it is already closed, so I guess I'll get no further explanation on that. :(