Class: GitServer::Repository
- Inherits:
-
Rack::Directory
- Object
- Rack::Directory
- GitServer::Repository
- Defined in:
- lib/git_server/lib/git_server_app.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Repository
constructor
A new instance of Repository.
Constructor Details
#initialize ⇒ Repository
Returns a new instance of Repository.
31 32 33 |
# File 'lib/git_server/lib/git_server_app.rb', line 31 def initialize super(self.class.path) end |
Class Method Details
.path ⇒ Object
19 20 21 |
# File 'lib/git_server/lib/git_server_app.rb', line 19 def self.path GitRepo.repo.path end |