[ruby-cvs:67478] akr:r60297 (trunk): SecureRandom.alphanumeric implemented.

akr at ruby-lang.org akr at ruby-lang.org
Sun Oct 22 00:21:26 JST 2017


akr	2017-10-22 00:21:26 +0900 (Sun, 22 Oct 2017)

  New Revision: 60297

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60297

  Log:
    SecureRandom.alphanumeric implemented.
    
    [ruby-core:68098] [Feature #10849] proposed by Andrew Butterfield.
    
    SecureRandom.choose and SecureRandom.graph is not included.
    (The implementation has SecureRandom.choose but it is private.)
    
    I feel the method name, SecureRandom.choose, doesn't represent
    the behavior well.
    
    The actual use cases of SecureRandom.graph is not obvious.

  Modified files:
    trunk/NEWS
    trunk/lib/securerandom.rb
    trunk/test/test_securerandom.rb


More information about the ruby-cvs mailing list