vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

Vagrant::Environment#unload

Unload the environment, running completion hooks. The environment
should not be used after this (but CAN be, technically). It is
recommended to always immediately set the variable to `nil` after
running this so you can't accidentally run any more methods. Example:

    env.unload
    env = nil

Source | Google | Stack overflow

Edit

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

cd vagrant

open lib/vagrant/environment.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Vagrant--Environment-unload-for-pr


# Commit to git

git add lib/vagrant/environment.rbgit commit -m "better docs for Vagrant::Environment#unload"


# 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--Environment-unload-for-pr

hub pull-request


# Celebrate!