jruby

https://github.com/jruby/jruby

Ruby

JRuby, an implementation of Ruby on the JVM

String#unseeded_hash

Hashed in Ruby are seeded by default (might not be the same between runs).
The unseeded hash returns a 'raw' value based only on the byte content.

Source | Google | Stack overflow

Edit

git clone [email protected]:jruby/jruby.git

cd jruby

open lib/ruby/stdlib/jruby/core_ext/string.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-String-unseeded_hash-for-pr


# Commit to git

git add lib/ruby/stdlib/jruby/core_ext/string.rbgit commit -m "better docs for String#unseeded_hash"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-String-unseeded_hash-for-pr

hub pull-request


# Celebrate!