vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

Vagrant::Config.run

This is the method which is called by all Vagrantfiles to configure Vagrant.
This method expects a block which accepts a single argument representing
an instance of the {Config::Top} class.

Note that the block is not run immediately. Instead, it's proc is stored
away for execution later.

Source | Google | Stack overflow

Edit

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

cd vagrant

open lib/vagrant/config.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Vagrant--Config-run-for-pr


# Commit to git

git add lib/vagrant/config.rbgit commit -m "better docs for Vagrant::Config.run"


# 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--Config-run-for-pr

hub pull-request


# Celebrate!