[ruby-cvs:56746] nobu:r49596 (trunk): random.c: rand_random_number

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Feb 14 12:20:06 JST 2015


nobu	2015-02-14 12:20:04 +0900 (Sat, 14 Feb 2015)

  New Revision: 49596

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49596

  Log:
    random.c: rand_random_number
    
    * random.c (rand_random_number): add a method to return a random
      number like SecureRandom to Random::Formatter.
    * lib/securerandom.rb (random_bytes): move to Random::Formatter,
      the base method of the module.

  Modified files:
    trunk/ChangeLog
    trunk/lib/securerandom.rb
    trunk/random.c


More information about the ruby-cvs mailing list