vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

Vagrant::Environment#root_path

The root path is the path where the top-most (loaded last)
Vagrantfile resides. It can be considered the project root for
this environment.

Source | Google | Stack overflow

Edit

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

cd vagrant

open lib/vagrant/environment.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Vagrant--Environment-root_path-for-pr


# Commit to git

git add lib/vagrant/environment.rbgit commit -m "better docs for Vagrant::Environment#root_path"


# 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--Environment-root_path-for-pr

hub pull-request


# Celebrate!