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: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>