vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

Vagrant::Environment#initialize

Initializes a new environment with the given options. The options
is a hash where the main available key is `cwd`, which defines where
the environment represents. There are other options available but
they shouldn't be used in general. If `cwd` is nil, then it defaults
to the `Dir.pwd` (which is the cwd of the executing process).

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-initialize-for-pr


# Commit to git

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


# 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-initialize-for-pr

hub pull-request


# Celebrate!