An abstract class for enumerating pseudo-prime numbers.
Concrete subclasses should override succ, next, rewind.
succ() Instance Public methods returns the next pseudo-prime number, and move
upper_bound() Instance Public methods
upper_bound=(ubound) Instance Public methods
with_object(obj) Instance Public methods see Enumerator#with_object
rewind() Instance Public methods Rewinds the internal position for enumeration
next() Instance Public methods alias of succ.
each(&block) Instance Public methods Iterates the given block for each prime
new(ubound = nil) Class Public methods