Sha256: 5febbb6158a6f32f0fc68828977b5a78c0261d863ca4b5ca48491a3e3e125b25
Contents?: true
Size: 325 Bytes
Versions: 38
Compression:
Stored size: 325 Bytes
Contents
class WikiFactory def self.create p path = testpath "examples/test.git" Grit::Repo.init_bare(@path) Gollum::Wiki.default_options = {:universal_toc => false} cleanup = Proc.new { FileUtils.rm_r File.join(File.dirname(__FILE__), *%w[examples test.git]) } Gollum::Wiki.new(@path), @path, cleanup end end
Version data entries
38 entries across 38 versions & 1 rubygems