Class: DtkCommon::GitRepo::Branch
- Inherits:
-
DtkCommon::GitRepo
- Object
- DtkCommon::GitRepo
- DtkCommon::GitRepo::Branch
- Defined in:
- lib/git_repo.rb
Instance Method Summary collapse
-
#initialize(repo_path, branch = 'master') ⇒ Branch
constructor
A new instance of Branch.
Methods inherited from DtkCommon::GitRepo
implements_method?, #method_missing, #respond_to?
Constructor Details
#initialize(repo_path, branch = 'master') ⇒ Branch
Returns a new instance of Branch.
32 33 34 35 |
# File 'lib/git_repo.rb', line 32 def initialize(repo_path,branch='master') super(repo_path) @branch = branch end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class DtkCommon::GitRepo