Sha256: 6ef7607df9bdc0305470586bae670119e6604553faa10171b44af8f3dad8fe66

Contents?: true

Size: 499 Bytes

Versions: 1

Compression:

Stored size: 499 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

1 entries across 1 versions & 1 rubygems

Version Path
active_git-0.0.3 lib/active_git/configuration.rb