Ruby 1.9.0 リファレンスマニュアル
>
ライブラリ一覧
> library
mathn
> class
Prime
> primes
instance method Prime#primes
primes
それまでに求めた素数の配列を返します。