[#65451] [ruby-trunk - Feature #10333] [PATCH 3/1] optimize: "yoda literal" == string — ko1@...

Issue #10333 has been updated by Koichi Sasada.

9 messages 2014/10/07

[ruby-core:65974] [ruby-trunk - Feature #4938] Add Random.bytes [patch]

From: ruby-core@...
Date: 2014-10-29 02:59:47 UTC
List: ruby-core #65974
Issue #4938 has been updated by Marc-Andre Lafortune.


Hi Nobu,
is there a reason not to commit this?

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

* Author: Marc-Andre Lafortune
* Status: Assigned
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* Category: core
* Target version: next minor
----------------------------------------
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 (1008 Bytes)


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

In This Thread