vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

Vagrant::Plugin::V1::Config#upgrade

This is called to upgrade this V1 config to V2. The parameter given
is the full V2 configuration object, so you can do anything to it
that you want.

No return value is expected, modifications should be made directly
to the new V2 object.

Source | Google | Stack overflow

Edit

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

cd vagrant

open lib/vagrant/plugin/v1/config.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Vagrant--Plugin--V1--Config-upgrade-for-pr


# Commit to git

git add lib/vagrant/plugin/v1/config.rbgit commit -m "better docs for Vagrant::Plugin::V1::Config#upgrade"


# 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--Plugin--V1--Config-upgrade-for-pr

hub pull-request


# Celebrate!