Sha256: 82913068dc43c4d1bacb0b56c8d78713e9a3a3787002b41fb47110da6a53fbb6

Contents?: true

Size: 310 Bytes

Versions: 3

Compression:

Stored size: 310 Bytes

Contents

# frozen_string_literal: true

module GitTopic
  module Commands
    # edit command edits branch description
    class Edit
      def initialize(topic_name)
        @topic_name = topic_name
      end

      def execute
        system("git branch --edit-description #{@topic_name}")
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
git_topic-0.3.3 lib/git_topic/commands/edit.rb
git_topic-0.3.0 lib/git_topic/commands/edit.rb
git_topic-0.2.5 lib/git_topic/commands/edit.rb