Support for the Ruby 2.2 series has ended. See here for reference.
An implementation of PseudoPrimeGenerator
.
Uses EratosthenesSieve
.
# File prime.rb, line 312 def succ @last_prime_index += 1 EratosthenesSieve.instance.get_nth_prime(@last_prime_index) end