Class: Hubtime::Activity::Year
Instance Attribute Summary
Attributes inherited from Period
#children, #compiled, #example, #label, #repo_stats, #total_stats
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Period
#_first_child_key, #_last_child_key, #add, #additions, #child_keys, #commits, #compile!, #compiled?, #count, #default_stats, #deletions, #first!, #first?, #impact, #import, #initialize, #key_value, #last!, #last?, #repositories
Class Method Details
.child_class ⇒ Object
233
234
235
|
# File 'lib/hubtime/activity.rb', line 233
def self.child_class
Month
end
|
.display(time) ⇒ Object
229
230
231
|
# File 'lib/hubtime/activity.rb', line 229
def self.display(time)
time.strftime("%Y")
end
|
Instance Method Details
#first_child_key ⇒ Object
237
238
239
|
# File 'lib/hubtime/activity.rb', line 237
def first_child_key
"01"
end
|
#last_child_key ⇒ Object
241
242
243
|
# File 'lib/hubtime/activity.rb', line 241
def last_child_key
"12"
end
|