Sha256: 78ef789db56c23e1d38df5bb87850f90b5f26baa02dd0566f91f1f3db7b32f2a
Contents?: true
Size: 303 Bytes
Versions: 3
Compression:
Stored size: 303 Bytes
Contents
module GitWrapper module Commands class Add < Git def all @file = '-A' self end def file(file_name) @file = to_relative_path(file_name) self end def command "add \"#{@file}\"" 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/add.rb |
git_wrapper-1.0.1 | lib/git_wrapper/commands/add.rb |
git_wrapper-1.0.0 | lib/git_wrapper/commands/add.rb |