Hello, i’m stuck on 2/7, To be or not to be, but i’m not sure i’m doing anything wrong…there is no error message coming up, but i still get a red cross every time i run. I’m sure the code is right and have checked it against many others on the forums, all of which seem to confirm the same code i have. Is it an issue with the site itself? Has anyone else had anything similar?
$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) unless n.is_a? Integer return "n must be an integer." end if n <= 0 return "n must be greater than 0." end prime_array ||=  #this is the code, i have removed spaces after . prime = Prime.new for num in (1..n) prime_array.push(prime.next) end return prime_array end first_n_primes(10)