class Git::Tag

Represents a Git tag and its annotation.

Attributes

date[R]

Author commit date of the tag

version[R]

Tag version

Public Class Methods

new(tag) click to toggle source

Gets change information for a specific tagged version.

@param [String] tag

Tag for which to instantiate the class.
# File lib/tag_changelog/git/tag.rb, line 30
def initialize(tag)
  @version = tag
  @date = Date.parse(Git.get_tag_date(tag))
end