Sha256: b1e9498da36ca47e8db195998a64c9d239b19809b76d0ba22a771570f9f208f2
Contents?: true
Size: 347 Bytes
Versions: 3
Compression:
Stored size: 347 Bytes
Contents
# frozen_string_literal: true module GitTopic module Commands # add command register topic summary class Add def initialize(topic_name, summary) @topic_name = topic_name @summary = summary end def execute system("git config --add topic.#{@topic_name} #{@summary}") end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
git_topic-0.4.0 | lib/git_topic/commands/add.rb |
git_topic-0.3.3 | lib/git_topic/commands/add.rb |
git_topic-0.3.0 | lib/git_topic/commands/add.rb |