Class: Gitit::Git
- Inherits:
-
Object
- Object
- Gitit::Git
- Defined in:
- lib/gitit/git.rb
Overview
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#repo ⇒ Object
readonly
Returns the value of attribute repo.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(location) ⇒ Git
constructor
————————————————————————- ————————————————————————-.
Constructor Details
#initialize(location) ⇒ Git
20 21 22 23 24 |
# File 'lib/gitit/git.rb', line 20 def initialize(location) @repo = Repo.new(location) @config = Config.new(repo) @status = Status.new(repo) end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
15 16 17 |
# File 'lib/gitit/git.rb', line 15 def config @config end |
#repo ⇒ Object (readonly)
Returns the value of attribute repo.
14 15 16 |
# File 'lib/gitit/git.rb', line 14 def repo @repo end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
16 17 18 |
# File 'lib/gitit/git.rb', line 16 def status @status end |