Class: Git::Heatmap::Daily
Instance Method Summary collapse
Methods inherited from Period
Instance Method Details
#key(t, p = 0) ⇒ Object
82 83 84 |
# File 'lib/git/heatmap/period.rb', line 82 def key(t, p = 0) mktime(t.year, t.month, t.day) + (3600 * 24 * p) end |
#name ⇒ Object
78 79 80 |
# File 'lib/git/heatmap/period.rb', line 78 def name "Days" end |