End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Prime::PseudoPrimeGenerator#succ
succ
lib/prime.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/prime.rb, line 350
def succ
raise NotImplementedError, "need to define `succ'"
end
returns the next pseudo-prime number, and move the internal position forward.