Hi. I keep getting this error code:
"Oops, try again. It looks like the first_n_primes method no longer returns 'n must be greater than 0.' for negative input. "
I don't know what I'm doing wrong as I believe 2-3 lines of code are correct.
$VERBOSE = nil # We'll explain this at the end of the lesson. require 'prime' # This is a module. We'll cover these soon! def first_n_primes(n) return "n must be an integer." unless n.is_a? Integer return "n must be greater 0." if n <= 0 prime_array ||=  prime = Prime.new for num in (1..n) prime_array.push(prime.next) end return prime_array end first_n_primes(10)