vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

Vagrant::Util::GuestHosts::Linux#replace_host

No Docs, write some!

Source | Google | Stack overflow

Edit

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

cd vagrant

open lib/vagrant/util/guest_hosts.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Vagrant--Util--GuestHosts--Linux-replace_host-for-pr


# Commit to git

git add lib/vagrant/util/guest_hosts.rbgit commit -m "better docs for Vagrant::Util::GuestHosts::Linux#replace_host"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Vagrant--Util--GuestHosts--Linux-replace_host-for-pr

hub pull-request


# Celebrate!