Skip to content

Instantly share code, notes, and snippets.

@btm
Created July 8, 2009 21:08
Show Gist options
  • Save btm/143191 to your computer and use it in GitHub Desktop.
Save btm/143191 to your computer and use it in GitHub Desktop.
template "/tmp/foo" do
source "foo.erb"
variables({
:recipe_name => self.recipe_name,
:cookbook_name => self.cookbook_name
})
end
Cookbook: <%= @cookbook_name %>
Recipe: <%= @recipe_name %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment