From: eregontp@... Date: 2016-05-10T11:36:27+00:00 Subject: [ruby-core:75447] [Ruby trunk Feature#12357] Random#initialize with a String Issue #12357 has been updated by Benoit Daloze. Nobuyoshi Nakada wrote: > I found that rubyspec fails. > > Maybe, an alternative is an optional parameter of `Random.new_seed` for the precision. I think it's fine to change the ruby/spec to adapt for this. The test just intends to verify that argument checking is performed, but of course a compatible evolution of the API like this seems fine. ---------------------------------------- Feature #12357: Random#initialize with a String https://bugs.ruby-lang.org/issues/12357#change-58565 * Author: Nobuyoshi Nakada * Status: Open * 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: