vagrant
https://github.com/mitchellh/vagrant
Ruby
Vagrant is a tool for building and distributing development environments.
Vagrant::Config.capture_configures
This is a method which will yield to a block and will capture all ``Vagrant.configure`` calls, returning an array of `Proc`s. Wrapping this around anytime you call code which loads configurations will force a mutex so that procs never get mixed up. This keeps the configuration loading part of Vagrant thread-safe.
Edit
git clone [email protected]:mitchellh/vagrant.git
cd vagrant
open lib/vagrant/config.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Vagrant--Config-capture_configures-for-pr
# Commit to gitgit add lib/vagrant/config.rbgit commit -m "better docs for Vagrant::Config.capture_configures"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Vagrant--Config-capture_configures-for-pr
hub pull-request
# Celebrate!