vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

Vagrant::Environment#vagrantfile

Represents the default Vagrantfile, or the Vagrantfile that is
in the working directory or a parent of the working directory
of this environment.

The existence of this function is primarily a convenience. There
is nothing stopping you from instantiating your own {Vagrantfile}
and loading machines in any way you see fit. Typical behavior of
Vagrant, however, loads this Vagrantfile.

This Vagrantfile is comprised of two major sources: the Vagrantfile
in the user's home directory as well as the "root" Vagrantfile or
the Vagrantfile in the working directory (or parent).

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-vagrantfile-for-pr


# Commit to git

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


# 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-vagrantfile-for-pr

hub pull-request


# Celebrate!