Sha256: 92ad433f3ebfdad28a94f5bdfd263c5843bbbe8bd2fa63fdc2139b3e19ac2e84
Contents?: true
Size: 420 Bytes
Versions: 3
Compression:
Stored size: 420 Bytes
Contents
module GitWrapper module Commands class Config < Git def key(key) @key = key self end def value(value) @value = value self end def command "config #{@key} #{@value}" end def result return @success if @value || !@success @output[0..(@output.length - 2)].strip end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
git_wrapper-1.0.2 | lib/git_wrapper/commands/config.rb |
git_wrapper-1.0.1 | lib/git_wrapper/commands/config.rb |
git_wrapper-1.0.0 | lib/git_wrapper/commands/config.rb |