Class: Giblish::GitSummaryDataProvider::TagInfo

Inherits:
Struct
  • Object
show all
Defined in:
lib/giblish/gitrepos/gitsummaryprovider.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#authorObject

Returns the value of attribute author

Returns:

  • (Object)

    the current value of author



9
10
11
# File 'lib/giblish/gitrepos/gitsummaryprovider.rb', line 9

def author
  @author
end

#commitObject

Returns the value of attribute commit

Returns:

  • (Object)

    the current value of commit



9
10
11
# File 'lib/giblish/gitrepos/gitsummaryprovider.rb', line 9

def commit
  @commit
end

#dateObject

Returns the value of attribute date

Returns:

  • (Object)

    the current value of date



9
10
11
# File 'lib/giblish/gitrepos/gitsummaryprovider.rb', line 9

def date
  @date
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



9
10
11
# File 'lib/giblish/gitrepos/gitsummaryprovider.rb', line 9

def message
  @message
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



9
10
11
# File 'lib/giblish/gitrepos/gitsummaryprovider.rb', line 9

def name
  @name
end

#shaObject

Returns the value of attribute sha

Returns:

  • (Object)

    the current value of sha



9
10
11
# File 'lib/giblish/gitrepos/gitsummaryprovider.rb', line 9

def sha
  @sha
end

Instance Method Details

#idObject



10
11
12
# File 'lib/giblish/gitrepos/gitsummaryprovider.rb', line 10

def id
  Giblish.to_valid_id(name)
end