An abstract class for enumerating pseudo-prime numbers.

Concrete subclasses should override succ, next, rewind.

Class Methods
No documentation available
Instance Methods

Iterates the given block for each prime number.

alias of succ.

Rewinds the internal position for enumeration.

See Enumerator#rewind.

No documentation available

returns the next pseudo-prime number, and move the internal position forward.

PseudoPrimeGenerator#succ raises NotImplementedError.

No documentation available
No documentation available

see Enumerator#with_index.

see Enumerator#with_object.