Flowdock
method

get_nth_prime

Importance_0
v2_2_9 - Show latest stable - 0 notes - Class: EratosthenesSieve
get_nth_prime(n) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/prime.rb, line 429
    def get_nth_prime(n)
      compute_primes while @primes.size <= n
      @primes[n]
    end
Register or log in to add new notes.