Class: Kamaze::Project::Tools::Git::Util Abstract
- Defined in:
- lib/kamaze/project/tools/git.rb,
lib/kamaze/project/tools/git/util.rb
Overview
This class is abstract.
Provide base class for utils based on git
Provide access to the repository
Direct Known Subclasses
Instance Attribute Summary collapse
-
#repository ⇒ Object
readonly
Returns the value of attribute repository.
Instance Method Summary collapse
-
#initialize(repository) ⇒ Util
constructor
A new instance of Util.
-
#setup ⇒ Object
protected
Setup.
Constructor Details
#initialize(repository) ⇒ Util
Returns a new instance of Util.
21 22 23 24 25 |
# File 'lib/kamaze/project/tools/git/util.rb', line 21 def initialize(repository) @repository = repository setup end |
Instance Attribute Details
#repository ⇒ Object (readonly)
Returns the value of attribute repository.
18 19 20 |
# File 'lib/kamaze/project/tools/git/util.rb', line 18 def repository @repository end |
Instance Method Details
#setup ⇒ Object (protected)
Setup
Almost used for inheritance
32 33 34 |
# File 'lib/kamaze/project/tools/git/util.rb', line 32 def setup nil end |