Class: EMRugged::Repository
- Inherits:
-
Object
- Object
- EMRugged::Repository
- Extended by:
- Deferrable, Delegator
- Defined in:
- lib/em_rugged/repository.rb
Instance Method Summary collapse
-
#initialize(root) ⇒ Repository
constructor
A new instance of Repository.
- #subject ⇒ Object
Methods included from Deferrable
Methods included from Delegator
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
#subject ⇒ Object
38 |
# File 'lib/em_rugged/repository.rb', line 38 def subject; @repo end |