class Git::Config

Attributes

binary_path[W]
git_ssh[W]

Public Class Methods

new() click to toggle source
# File lib/git/config.rb, line 7
def initialize
  @binary_path = nil
  @git_ssh = nil
end

Public Instance Methods

binary_path() click to toggle source
# File lib/git/config.rb, line 12
def binary_path
  @binary_path || ENV['GIT_PATH'] && File.join(ENV['GIT_PATH'], 'git') || 'git'
end
git_ssh() click to toggle source
# File lib/git/config.rb, line 16
def git_ssh
  @git_ssh || ENV['GIT_SSH']
end