vagrant
https://github.com/mitchellh/vagrant
Ruby
Vagrant is a tool for building and distributing development environments.
Vagrant::Plugin::V2::Command#with_target_vms
Yields a VM for each target VM for the command. This is a convenience method for easily implementing methods that take a target VM (in the case of multi-VM) or every VM if no specific VM name is specified.
Edit
git clone [email protected]:mitchellh/vagrant.git
cd vagrant
open lib/vagrant/plugin/v2/command.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Vagrant--Plugin--V2--Command-with_target_vms-for-pr
# Commit to gitgit add lib/vagrant/plugin/v2/command.rbgit commit -m "better docs for Vagrant::Plugin::V2::Command#with_target_vms"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Vagrant--Plugin--V2--Command-with_target_vms-for-pr
hub pull-request
# Celebrate!