Added project spec seting
This commit is contained in:
14
classes/repomanage.rb
Normal file
14
classes/repomanage.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
class RepoManager
|
||||
attr :path, :error
|
||||
|
||||
def initialize(path)
|
||||
@error = nil
|
||||
unless File.exist? (path)
|
||||
Dir.mkdir(path)
|
||||
end
|
||||
@path = path
|
||||
end
|
||||
|
||||
def create_repo
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user