Ruby 2.4.0 リファレンスマニュアル > ライブラリ一覧 > 組み込みライブラリ > Randomクラス > seed
seed -> Integer
現在の乱数の種を返します。
例 p Random.new(3).seed # => 3
p Random.new(3).seed # => 3