Method: Cir::GitRepository#initialize
- Defined in:
- lib/cir/git_repository.rb
#initialize(rootPath) ⇒ GitRepository
Open given existing repository on disk. You might need to #create one if needed.
35 36 37 |
# File 'lib/cir/git_repository.rb', line 35 def initialize(rootPath) @repo = Rugged::Repository.new(rootPath) end |