Sha256: b6b6683d1da4c6e372961052347f46ab9e0af51da600d337072932838ab24422

Contents?: true

Size: 471 Bytes

Versions: 3

Compression:

Stored size: 471 Bytes

Contents

module ActiveGit
  class Configuration

    def working_path
      @working_path.is_a?(Proc) ? @working_path.call : @working_path
    end

    def working_path=(path)
      @working_path = path
    end

    def bare_path
      @bare_path.is_a?(Proc) ? @bare_path.call : @bare_path
    end

    def bare_path=(path)
      @bare_path = path
    end

    def logger
      GitWrapper.logger
    end

    def logger=(logger)
      GitWrapper.logger = logger
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_git-0.0.6 lib/active_git/configuration.rb
active_git-0.0.5 lib/active_git/configuration.rb
active_git-0.0.4 lib/active_git/configuration.rb