aboutsummaryrefslogtreecommitdiffstats
path: root/lib/securerandom.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/securerandom.rb')
-rw-r--r--lib/securerandom.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/securerandom.rb b/lib/securerandom.rb
index d8afc7d01b..9201c9337a 100644
--- a/lib/securerandom.rb
+++ b/lib/securerandom.rb
@@ -75,6 +75,10 @@ module SecureRandom
ret
end
end
+
+ class << self
+ alias bytes gen_random
+ end
end
module Random::Formatter