vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

Vagrant::BoxMetadata#versions

Returns all the versions supported by this metadata. These
versions are sorted so the last element of the list is the
latest version.

@return[Array<String>]

Source | Google | Stack overflow

Edit

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

cd vagrant

open lib/vagrant/box_metadata.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Vagrant--BoxMetadata-versions-for-pr


# Commit to git

git add lib/vagrant/box_metadata.rbgit commit -m "better docs for Vagrant::BoxMetadata#versions"


# 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--BoxMetadata-versions-for-pr

hub pull-request


# Celebrate!