initial library setup
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# external
|
||||
require 'grit'
|
||||
|
||||
# internal
|
||||
require 'gollum/repo'
|
||||
|
||||
module Gollum
|
||||
VERSION = '0.0.1'
|
||||
end
|
||||
@@ -0,0 +1,14 @@
|
||||
module Gollum
|
||||
class Repo
|
||||
attr_accessor :path
|
||||
|
||||
# Initialize a new Gollum Repo.
|
||||
#
|
||||
# repo - The String path to the Git repository that holds the Gollum site.
|
||||
#
|
||||
# Returns a fresh Gollum::Repo.
|
||||
def initialize(path)
|
||||
self.path = path
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user