Hi, any progress about this patch? The reason why I have proposed this is that I'm anxious about the phrase of http://ruby-doc.org/stdlib-2.2.2/libdoc/prime/rdoc/Prime.html#class-Prime-label-Generators : "Furthermore, it is an externa...ciel (T Yamada)
Updated the diff. Thank you for the advice. By the way, is PseudoPrimeGenerator#with_object covered by the tests? I don't see test_enumerator_with_object stuff. Perhaps, for example, we can count the number of primes by modulo 4?ciel (T Yamada)
Umm, I don't know how to pass block to each_with_index safely (without capturing). Of course I can remove calling each_with_index, but... - Note: I have updated email address, which I'd like for ChangeLog...ciel (T Yamada)