Sha256: 0b81064d87e29ba3f5251b8fd9e6165fe43659c6d4cc225e845d6df9f97f2869
Contents?: true
Size: 531 Bytes
Versions: 80
Compression:
Stored size: 531 Bytes
Contents
require 'r10k/errors' module R10K module Git class GitError < R10K::Error attr_reader :git_dir def initialize(mesg, options = {}) super @git_dir = @options[:git_dir] end def message msg = super if @git_dir msg << " at #{@git_dir}" end msg end end class UnresolvableRefError < GitError attr_reader :ref def initialize(mesg, options = {}) super @ref = @options[:ref] end end end end
Version data entries
80 entries across 80 versions & 2 rubygems