vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

Vagrant::Plugin::V2::Plugin.host_capability

Defines a capability for the given host. The block should return
a class/module that has a method with the capability name, ready
to be executed. This means that if it is an instance method,
the block should return an instance of the class.

Source | Google | Stack overflow

Edit

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

cd vagrant

open lib/vagrant/plugin/v2/plugin.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Vagrant--Plugin--V2--Plugin-host_capability-for-pr


# Commit to git

git add lib/vagrant/plugin/v2/plugin.rbgit commit -m "better docs for Vagrant::Plugin::V2::Plugin.host_capability"


# 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--Plugin--V2--Plugin-host_capability-for-pr

hub pull-request


# Celebrate!