From f34a78b3367b1dc7364b036746da67e53dd7d23d Mon Sep 17 00:00:00 2001 From: bootstraponline Date: Mon, 1 Oct 2012 23:45:04 -0600 Subject: [PATCH] Proc.new instead of lambda. --- templates/helper_wiki.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/helper_wiki.rb b/templates/helper_wiki.rb index 16c17cba..1a6c468c 100644 --- a/templates/helper_wiki.rb +++ b/templates/helper_wiki.rb @@ -3,7 +3,7 @@ class WikiFactory path = testpath "examples/test.git" Grit::Repo.init_bare(@path) Gollum::Wiki.default_options = {:universal_toc => false} - cleanup = lambda { FileUtils.rm_r File.join(File.dirname(__FILE__), *%w[examples test.git]) } + cleanup = Proc.new { FileUtils.rm_r File.join(File.dirname(__FILE__), *%w[examples test.git]) } Gollum::Wiki.new(@path), @path, cleanup end end