vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

Vagrant::Util::TemplateRenderer.render_string

Render a given string and return the result. This method optionally
takes a block which will be passed the renderer prior to rendering, which
allows the caller to set any view variables within the renderer itself.

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


# Commit to git

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


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

hub pull-request


# Celebrate!