Project

General

Profile

« Previous | Next » 

Revision eeeb7ae8

Added by nobu (Nobuyoshi Nakada) over 10 years ago

random.c: Random.raw_seed

  • random.c (random_raw_seed): extract platform dependent random
    seed initialization function as a new method Random.raw_seed.
  • lib/securerandom.rb (SecureRandom): use Random.raw_seed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e