From e411bd5b3684bfa5c654290059e9207a9596aad7 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 12 Dec 2023 14:41:09 +0900 Subject: [PATCH] [ruby/securerandom] [DOC] Satisfy RDoc coverage https://github.com/ruby/securerandom/commit/ddf2672e47 --- lib/securerandom.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/securerandom.rb b/lib/securerandom.rb index 0bd5c441dbb512..43732a6ff51f6b 100644 --- a/lib/securerandom.rb +++ b/lib/securerandom.rb @@ -53,6 +53,8 @@ def bytes(n) private + # :stopdoc: + # Implementation using OpenSSL def gen_random_openssl(n) return OpenSSL::Random.random_bytes(n) @@ -84,6 +86,8 @@ def gen_random_urandom(n) end end + # :startdoc: + # Generate random data bytes for Random::Formatter public :gen_random end