Issue #6068 has been updated by Marc-Andre Lafortune.


I'm not sure that all implementations have to return hash codes that differ from one run to the other. I would also modify `Object#hash`, as all hashes in CRuby are random seeded, not just String. I'd recommend adding the following line to Object#hash:

  No other assumption can be made on hash values; in particular they may vary between sessions or implementations.
----------------------------------------
Bug #6068: String::Hash documentation clarification
https://bugs.ruby-lang.org/issues/6068

Author: Daniel Peck
Status: Open
Priority: Normal
Assignee: Eric Hodel
Category: DOC
Target version: 
ruby -v: ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-linux]


modified documentation for String::hash to clarify that results are not conistent across sessions and advice for if that behavior is desired


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