vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

FileChecksum#initialize

Initializes an object to calculate the checksum of a file. The given
``digest_klass`` should implement the ``DigestClass`` interface. Note
that the built-in Ruby digest classes duck type this properly:
Digest::MD5, Digest::SHA1, etc.

Source | Google | Stack overflow

Edit

git clone [email protected]:mitchellh/vagrant.git

cd vagrant

open lib/vagrant/util/file_checksum.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-FileChecksum-initialize-for-pr


# Commit to git

git add lib/vagrant/util/file_checksum.rbgit commit -m "better docs for FileChecksum#initialize"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-FileChecksum-initialize-for-pr

hub pull-request


# Celebrate!