Support for the Ruby 2.1 series ended on March 31 2017. See here for details.
An implementation of PseudoPrimeGenerator
.
Uses EratosthenesSieve
.
# File prime.rb, line 313 def succ @last_prime_index += 1 EratosthenesSieve.instance.get_nth_prime(@last_prime_index) end