Okay, I've got a question.
What's the correct way to implement a custom Enumerable#each which
handles next, retry and break correctly?
For example:
def each
while @current_grob
yield @current_grob.create
@current_grob = @current_grob.next_grob
end
end
How do I make next, retry, and break work as expected?
-mental