Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Proc.new instead of lambda.

  • Loading branch information...
commit f34a78b3367b1dc7364b036746da67e53dd7d23d 1 parent e1942dd
bootstraponline bootstraponline authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  templates/helper_wiki.rb
2  templates/helper_wiki.rb
View
@@ -3,7 +3,7 @@ def self.create p
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
Please sign in to comment.
Something went wrong with that request. Please try again.