class Git::Config
Attributes
binary_path[W]
git_ssh[W]
timeout[W]
Public Class Methods
new()
click to toggle source
# File lib/git/config.rb, line 7 def initialize @binary_path = nil @git_ssh = nil @timeout = nil end
Public Instance Methods
binary_path()
click to toggle source
# File lib/git/config.rb, line 13 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 17 def git_ssh @git_ssh || ENV['GIT_SSH'] end
timeout()
click to toggle source
# File lib/git/config.rb, line 21 def timeout @timeout || (ENV['GIT_TIMEOUT'] && ENV['GIT_TIMEOUT'].to_i) end