Sha256: 1a0261c39a024240286d97470d42eba025f4547b10d5177c2e7f656cedfdf05d

Contents?: true

Size: 268 Bytes

Versions: 23

Compression:

Stored size: 268 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 || 'git'
    end

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

  end

end

Version data entries

23 entries across 23 versions & 8 rubygems

Version Path
cvss-suite-1.0.0 vendor/cache/ruby/2.2.0/gems/git-1.3.0/lib/git/config.rb
git-1.3.0 lib/git/config.rb
git-1.2.9.1 lib/git/config.rb