Issue #4938 has been updated by matz (Yukihiro Matsumoto).


Accepted. Better later than never.

Matz.


----------------------------------------
Feature #4938: Add Random.bytes [patch]
https://bugs.ruby-lang.org/issues/4938#change-70487

* Author: marcandre (Marc-Andre Lafortune)
* Status: Assigned
* Priority: Normal
* Assignee: matz (Yukihiro Matsumoto)
* Target version: 
----------------------------------------
It could be useful to add a `Random.bytes` method (equivalent to `Random::DEFAULT.bytes`), as per the simple patch attached.




---Files--------------------------------
randombytes.diff (2.19 KB)
randombytes-ruby22.diff (2.38 KB)


-- 
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>