Class: Papa::Command::Git::Tag

Inherits:
Base
  • Object
show all
Defined in:
lib/papa/command/git/tag.rb

Instance Attribute Summary

Attributes inherited from Base

#command, #exit_status, #silent, #stderr, #stdout

Instance Method Summary collapse

Methods inherited from Base

#cleanup, #failed?, #failure_message, #run, #success?

Constructor Details

#initialize(tag_name) ⇒ Tag

Returns a new instance of Tag.



7
8
9
10
# File 'lib/papa/command/git/tag.rb', line 7

def initialize(tag_name)
  command = "git tag #{tag_name}"
  super(command)
end