Class: EMRugged::Repository

Inherits:
Object
  • Object
show all
Extended by:
Deferrable, Delegator
Defined in:
lib/em_rugged/repository.rb

Instance Method Summary collapse

Methods included from Deferrable

defer

Methods included from Delegator

delegate

Constructor Details

#initialize(root) ⇒ Repository

Returns a new instance of Repository.



34
35
36
# File 'lib/em_rugged/repository.rb', line 34

def initialize(root)
  @repo = Rugged::Repository.new(root)
end

Instance Method Details

#subjectObject



38
# File 'lib/em_rugged/repository.rb', line 38

def subject; @repo end