Sha256: 739780354ebaf5a457dcf62801279eac105d2e527488efd9c2401664dad82393

Contents?: true

Size: 280 Bytes

Versions: 6

Compression:

Stored size: 280 Bytes

Contents

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

6 entries across 6 versions & 1 rubygems

Version Path
git_topic-0.2.4 lib/git_topic/commands/edit.rb
git_topic-0.2.3 lib/git_topic/commands/edit.rb
git_topic-0.2.2 lib/git_topic/commands/edit.rb
git_topic-0.2.1 lib/git_topic/commands/edit.rb
git_topic-0.2.0 lib/git_topic/commands/edit.rb
git_topic-0.1.0 lib/git_topic/commands/edit.rb