Issue #15186 has been updated by artur86 (Artur Beljajev).


nobu (Nobuyoshi Nakada) wrote:
> It is a method of `Random::Formatter`, not of `SecureRandom`.
> 
> https://ruby-doc.org/core-2.6.0.preview2/Random/Formatter.html#method-i-random_number

Oh, Nobuyoshi, thank you for pointing! I missed it completely :(.

----------------------------------------
Misc #15186: `SecureRandom.random_number` is not documented
https://bugs.ruby-lang.org/issues/15186#change-74264

* Author: artur86 (Artur Beljajev)
* Status: Closed
* Priority: Normal
* Assignee: 
----------------------------------------
I wonder if there is any reason why `SecureRandom.random_number` is not documented.
https://ruby-doc.org/stdlib-2.4.4/libdoc/securerandom/rdoc/SecureRandom.html



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>