Number Ruby

require 'mathn'
primes = Prime.new
primes.succ                                     # => 2
primes.succ                                     # => 3