$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)

puts "n must be an interger."unless n== false

puts "n must be grater than 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_prime(0)