Class: Bugwatch::Tag
- Inherits:
-
Object
- Object
- Bugwatch::Tag
- Defined in:
- lib/bugwatch/tag.rb
Instance Attribute Summary collapse
-
#grit ⇒ Object
readonly
Returns the value of attribute grit.
Instance Method Summary collapse
- #authored_date ⇒ Object
- #committed_date ⇒ Object
-
#initialize(grit_tag) ⇒ Tag
constructor
A new instance of Tag.
- #name ⇒ Object
- #tag_date ⇒ Object
Constructor Details
#initialize(grit_tag) ⇒ Tag
Returns a new instance of Tag.
37 38 39 |
# File 'lib/bugwatch/tag.rb', line 37 def initialize(grit_tag) @grit = grit_tag end |
Instance Attribute Details
#grit ⇒ Object (readonly)
Returns the value of attribute grit.
35 36 37 |
# File 'lib/bugwatch/tag.rb', line 35 def grit @grit end |
Instance Method Details
#authored_date ⇒ Object
49 50 51 |
# File 'lib/bugwatch/tag.rb', line 49 def grit.commit. end |
#committed_date ⇒ Object
45 46 47 |
# File 'lib/bugwatch/tag.rb', line 45 def committed_date grit.commit.committed_date end |
#name ⇒ Object
41 42 43 |
# File 'lib/bugwatch/tag.rb', line 41 def name grit.name end |
#tag_date ⇒ Object
53 54 55 |
# File 'lib/bugwatch/tag.rb', line 53 def tag_date grit.tag_date end |