Project

General

Profile

Actions

Feature #4938

closed

Add Random.bytes [patch]

Added by marcandre (Marc-Andre Lafortune) almost 10 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
[ruby-core:37576]

Description

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.diff marcandre (Marc-Andre Lafortune), 06/28/2011 12:58 AM
randombytes-ruby22.diff (2.38 KB) randombytes-ruby22.diff hsbt (Hiroshi SHIBATA), 10/29/2014 05:37 AM
Actions

Also available in: Atom PDF