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
sigterm_extensions-0.0.4 lib/git/config.rb
git-ce-1.5.0.2 lib/git/config.rb
git-ce-1.5.0.1 lib/git/config.rb
git-ce-1.5.0 lib/git/config.rb
git-1.5.0 lib/git/config.rb
git-1.4.0 lib/git/config.rb
ruby-git-fw-new-1.3.3 lib/git/config.rb
ruby-git-yz-1.3.3 lib/git/config.rb
git-ng-1.4.0 lib/git/config.rb
cvss-suite-1.0.8 vendor/cache/ruby/2.2.0/gems/git-1.3.0/lib/git/config.rb
ruby-git-fw-1.3.2 lib/git/config.rb
ruby-git-fw-1.3.1 lib/git/config.rb
ruby-git-fw-1.3.0 lib/git/config.rb
cvss-suite-1.0.7 vendor/cache/ruby/2.2.0/gems/git-1.3.0/lib/git/config.rb
cvss-suite-1.0.6 vendor/cache/ruby/2.2.0/gems/git-1.3.0/lib/git/config.rb
cvss-suite-1.0.5 vendor/cache/ruby/2.2.0/gems/git-1.3.0/lib/git/config.rb
cvss-suite-1.0.4 vendor/cache/ruby/2.2.0/gems/git-1.3.0/lib/git/config.rb
cvss-suite-1.0.3 vendor/cache/ruby/2.2.0/gems/git-1.3.0/lib/git/config.rb
cvss-suite-1.0.2 vendor/cache/ruby/2.2.0/gems/git-1.3.0/lib/git/config.rb
cvss-suite-1.0.1 vendor/cache/ruby/2.2.0/gems/git-1.3.0/lib/git/config.rb