Class: Git::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/git/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



7
8
9
10
# File 'lib/git/config.rb', line 7

def initialize
  @binary_path = nil
  @git_ssh = nil
end

Instance Attribute Details

#binary_pathObject



12
13
14
# File 'lib/git/config.rb', line 12

def binary_path
  @binary_path || 'git'
end

#git_sshObject



16
17
18
# File 'lib/git/config.rb', line 16

def git_ssh
  @git_ssh || ENV['GIT_SSH']
end