lib/git_wrapper/commands/config.rb in git_wrapper-1.0.2 vs lib/git_wrapper/commands/config.rb in git_wrapper-1.0.3

- old
+ new

@@ -1,26 +1,26 @@ -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 +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 \ No newline at end of file