vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

Vagrant::Machine#state

Returns the state of this machine. The state is queried from the
backing provider, so it can be any arbitrary symbol.

Source | Google | Stack overflow

Edit

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

cd vagrant

open lib/vagrant/machine.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Vagrant--Machine-state-for-pr


# Commit to git

git add lib/vagrant/machine.rbgit commit -m "better docs for Vagrant::Machine#state"


# 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--Machine-state-for-pr

hub pull-request


# Celebrate!