Project

General

Profile

Actions

Feature #4938

closed

Add Random.bytes [patch]

Added by marcandre (Marc-Andre Lafortune) over 13 years ago. Updated almost 7 years ago.

Status:
Closed
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

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0