Forum: Ruby-core [Ruby 1.9 - Feature #4938][Open] Add Random.bytes [patch]

Posted by Marc-Andre Lafortune (Guest)
on 2011-06-27 17:58
(Received via mailing list)
Issue #4938 has been reported by Marc-Andre Lafortune.

----------------------------------------
Feature #4938: Add Random.bytes [patch]
http://redmine.ruby-lang.org/issues/4938

Author: Marc-Andre Lafortune
Status: Open
Priority: Normal
Assignee: Nobuyoshi Nakada
Category: core
Target version: 1.9.x


It could be useful to add a `Random.bytes` method (equivalent to 
`Random::DEFAULT.bytes`), as per the simple patch attached.
Posted by marcandre (Marc-Andre Lafortune) (Guest)
on 2012-11-12 05:14
(Received via mailing list)
Issue #4938 has been updated by marcandre (Marc-Andre Lafortune).


Comment about this trivial feature would be appreciated.
----------------------------------------
Feature #4938: Add Random.bytes [patch]
https://bugs.ruby-lang.org/issues/4938#change-32801

Author: marcandre (Marc-Andre Lafortune)
Status: Assigned
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: core
Target version: 2.0.0


It could be useful to add a `Random.bytes` method (equivalent to 
`Random::DEFAULT.bytes`), as per the simple patch attached.
Posted by mrkn (Kenta Murata) (Guest)
on 2012-11-12 08:04
(Received via mailing list)
Issue #4938 has been updated by mrkn (Kenta Murata).

Target version changed from 2.0.0 to next minor

I think it is useful and acceptable to introduce, but 2.0 is already 
frozen about its features, so the target version should be next-minor.
----------------------------------------
Feature #4938: Add Random.bytes [patch]
https://bugs.ruby-lang.org/issues/4938#change-32806

Author: marcandre (Marc-Andre Lafortune)
Status: Assigned
Priority: Normal
Assignee: nobu (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.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.