<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>
<Below this line, add a link to the EXACT exercise that you are stuck at.>
Also heres my code:
$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)
n.is_a? Integer unless “n must be an integer.”
puts “n must be greater than 0.” if n <= 0
end
prime_array ||=
prime = Prime.new
n.times {prime_array << (prime.next)}
prime_array
first_n_primes(10)
https://www.codecademy.com/courses/ruby-beginner-en-Zjd2y/0/6?curriculum_id=5059f8619189a5000201fbcb
<In what way does your code behave incorrectly? Include ALL error messages.>
```Replace this line with your code.
<do not remove the three backticks above>