Sha256: 6a89b0a096881e6dab6bc9504ee70335cf26d0984fa7fd8442ac10c537eaccc1

Contents?: true

Size: 324 Bytes

Versions: 32

Compression:

Stored size: 324 Bytes

Contents

module Git

  class Config

    attr_writer :binary_path, :git_ssh

    def initialize
      @binary_path = nil
      @git_ssh = nil
    end

    def binary_path
      @binary_path || ENV['GIT_PATH'] && File.join(ENV['GIT_PATH'], 'git') || 'git'
    end

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

  end

end

Version data entries

32 entries across 32 versions & 5 rubygems

Version Path
git-2.0.0.pre1 lib/git/config.rb
git-1.19.1 lib/git/config.rb
git-1.19.0 lib/git/config.rb
git-1.18.0 lib/git/config.rb
git-1.17.2 lib/git/config.rb
git-1.17.1 lib/git/config.rb
git-1.17.0 lib/git/config.rb
git-1.16.0 lib/git/config.rb
git-1.15.0 lib/git/config.rb
git-1.14.0 lib/git/config.rb
git-1.13.2 lib/git/config.rb
git-1.13.1 lib/git/config.rb
git-1.13.0 lib/git/config.rb
lg_pod_plugin-1.0.8 lib/git/config.rb
lg_pod_plugin-1.0.7 lib/git/config.rb
lg_pod_plugin-1.0.6 lib/git/config.rb
git-1.12.0 lib/git/config.rb
git-1.11.0 lib/git/config.rb
git-1.10.2 lib/git/config.rb
git-1.10.1 lib/git/config.rb