Sha256: 2cf392d192083797ea2e5c1ddddd048c899fa77e28999b6635eca171f56468f5

Contents?: true

Size: 381 Bytes

Versions: 2

Compression:

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

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_git-0.0.2 lib/active_git/configuration.rb
active_git-0.0.1 lib/active_git/configuration.rb