Class: Bugwatch::Tag

Inherits:
Object
  • Object
show all
Defined in:
lib/bugwatch/tag.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#gritObject (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_dateObject



49
50
51
# File 'lib/bugwatch/tag.rb', line 49

def authored_date
  grit.commit.authored_date
end

#committed_dateObject



45
46
47
# File 'lib/bugwatch/tag.rb', line 45

def committed_date
  grit.commit.committed_date
end

#nameObject



41
42
43
# File 'lib/bugwatch/tag.rb', line 41

def name
  grit.name
end

#tag_dateObject



53
54
55
# File 'lib/bugwatch/tag.rb', line 53

def tag_date
  grit.tag_date
end