Method: Vx::Common::Git#initialize

Defined in:
lib/vx/common/git.rb

#initialize(src, sha, path, options = {}, &block) ⇒ Git

Returns a new instance of Git.



12
13
14
15
16
17
18
19
# File 'lib/vx/common/git.rb', line 12

def initialize(src, sha, path, options = {}, &block)
  @src             = src
  @sha             = sha
  @path            = path
  @branch          = options[:branch]
  @pull_request_id = options[:pull_request_id]
  @logger          = block
end