diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-14 03:20:04 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-14 03:20:04 +0000 |
commit | b1adbd14e5b197596636f927c03ff132299ab6b6 (patch) | |
tree | 587e44dc967e33e900c4d46fc3bd49697d79a718 /tool | |
parent | 1f13a179d303c1470f3e76656d14d24cf035fff4 (diff) |
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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
0 files changed, 0 insertions, 0 deletions