Sha256: 21ddaae55aa3eabf0bf1274584d71f4a877cfcf260f4ceac0210ac9397d489df
Contents?: true
Size: 281 Bytes
Versions: 1
Compression:
Stored size: 281 Bytes
Contents
require 'common/command' module GitCommands # Commit class Commit < Command def initialize(title, body = '') super 'git' arg 'commit -a' arg %(-m "#{title}") unless title.empty? arg %(-m "#{body}") unless body.nil? || body.empty? end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
straight_line-0.1.0.0 | lib/common/git_commands/commit.rb |