Class: DtkCommon::GitRepo::Branch

Inherits:
DtkCommon::GitRepo show all
Defined in:
lib/git_repo.rb

Instance Method Summary collapse

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