vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

Vagrant::Plugin::V1::Host.precedence

The precedence of the host when checking for matches. This is to
allow certain host such as generic OS's ("Linux", "BSD", etc.)
to be specified last.

The hosts with the higher numbers will be checked first.

If you're implementing a basic host, you can probably ignore this.

Source | Google | Stack overflow

Edit

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

cd vagrant

open lib/vagrant/plugin/v1/host.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Vagrant--Plugin--V1--Host-precedence-for-pr


# Commit to git

git add lib/vagrant/plugin/v1/host.rbgit commit -m "better docs for Vagrant::Plugin::V1::Host.precedence"


# 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--V1--Host-precedence-for-pr

hub pull-request


# Celebrate!