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