[ruby/securerandom] [DOC] Satisfy RDoc coverage

https://github.com/ruby/securerandom/commit/ddf2672e47
This commit is contained in:
Nobuyoshi Nakada 2023-12-12 14:41:09 +09:00 коммит произвёл git
Родитель dbd704ae6f
Коммит e411bd5b36
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -53,6 +53,8 @@ module SecureRandom
private
# :stopdoc:
# Implementation using OpenSSL
def gen_random_openssl(n)
return OpenSSL::Random.random_bytes(n)
@ -84,6 +86,8 @@ module SecureRandom
end
end
# :startdoc:
# Generate random data bytes for Random::Formatter
public :gen_random
end