vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

Vagrant::Util::TemplateRenderer#render

Renders the template using the class intance as the binding. Because the
renderer inherits from `OpenStruct`, additional view variables can be
added like normal accessors.

Source | Google | Stack overflow

Edit

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

cd vagrant

open lib/vagrant/util/template_renderer.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Vagrant--Util--TemplateRenderer-render-for-pr


# Commit to git

git add lib/vagrant/util/template_renderer.rbgit commit -m "better docs for Vagrant::Util::TemplateRenderer#render"


# 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--Util--TemplateRenderer-render-for-pr

hub pull-request


# Celebrate!