Class: Git::Heatmap::Hourly
Instance Method Summary collapse
Methods inherited from Period
Instance Method Details
#key(t, p = 0) ⇒ Object
72 73 74 |
# File 'lib/git/heatmap/period.rb', line 72 def key(t, p = 0) mktime(t.year, t.month, t.day, t.hour) + (3600 * p) end |
#name ⇒ Object
68 69 70 |
# File 'lib/git/heatmap/period.rb', line 68 def name "Hours" end |