Class: Hubtime::Activity::Day

Inherits:
Period
  • Object
show all
Defined in:
lib/hubtime/activity.rb

Instance Attribute Summary

Attributes inherited from Period

#children, #compiled, #example, #label, #repo_stats, #total_stats

Class 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

Constructor Details

This class inherits a constructor from Hubtime::Activity::Period

Class Method Details

.child_classObject



275
276
277
# File 'lib/hubtime/activity.rb', line 275

def self.child_class
  nil
end

.display(time) ⇒ Object



271
272
273
# File 'lib/hubtime/activity.rb', line 271

def self.display(time)
  time.strftime("%d")
end