vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

Vagrant::Config::Loader#set

Set the configuration data for the given name.

The `name` should be a symbol and must uniquely identify the data
being given.

`data` can either be a path to a Ruby Vagrantfile or a `Proc` directly.
`data` can also be an array of such values.

At this point, no configuration is actually loaded. Note that calling
`set` multiple times with the same name will override any previously
set values. In this way, the last set data for a given name wins.

Source | Google | Stack overflow

Edit

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

cd vagrant

open lib/vagrant/config/loader.rb

Contribute

# Make a new branch

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


# Commit to git

git add lib/vagrant/config/loader.rbgit commit -m "better docs for Vagrant::Config::Loader#set"


# 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--Loader-set-for-pr

hub pull-request


# Celebrate!