Sha256: 5b1b0e8c6c200382ccb39d842fddb1115847c3c64c299a078bd940e51d40b544
Contents?: true
Size: 481 Bytes
Versions: 4
Compression:
Stored size: 481 Bytes
Contents
module GitWrapper module Commands class Reset < Git def commit(commit) @commit = commit self end def soft @mode = :soft self end def hard @mode = :hard self end def merge @mode = :merge self end def keep @mode = :keep self end def command "reset #{@mode ? "--#{@mode}" : ''} #{@commit}" end end end end
Version data entries
4 entries across 4 versions & 1 rubygems