Class: Gitlab::Git::Tag
Constant Summary
Constants included from EncodingHelper
EncodingHelper::ENCODING_CONFIDENCE_THRESHOLD
Instance Attribute Summary
Attributes inherited from Ref
Instance Method Summary collapse
-
#initialize(name, target, message = nil) ⇒ Tag
constructor
A new instance of Tag.
- #message ⇒ Object
Methods inherited from Ref
Methods included from EncodingHelper
Constructor Details
#initialize(name, target, message = nil) ⇒ Tag
Returns a new instance of Tag.
4 5 6 7 |
# File 'lib/gitlab_git/tag.rb', line 4 def initialize(name, target, = nil) super(name, target) @message = end |
Instance Method Details
#message ⇒ Object
9 10 11 |
# File 'lib/gitlab_git/tag.rb', line 9 def encode! @message end |