[ruby-core:75579] [Ruby trunk Feature#12357][Feedback] Random#initialize with a String

From: naruse@...
Date: 2016-05-17 17:20:40 UTC
List: ruby-core #75579
Issue #12357 has been updated by Yui NARUSE.

Status changed from Open to Feedback

It sounds not useful on the current situation.
Reopen if a Random Utility module requires this.

----------------------------------------
Feature #12357: Random#initialize with a String
https://bugs.ruby-lang.org/issues/12357#change-58713

* Author: Nobuyoshi Nakada
* Status: Feedback
* Priority: Normal
* Assignee: 
----------------------------------------
https://github.com/ruby/ruby/compare/trunk...nobu:feature/Random%23initialize-string

Currently `Random#initialize` only accepts an `Integer`.
It would be useful to accept a `String` to feed the seed from external sources, I think.



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

In This Thread

Prev Next