Class: Periodical::Filter::Hourly

Inherits:
Period
  • Object
show all
Defined in:
lib/periodical/filter.rb

Constant Summary

Constants inherited from Period

Period::ORDER

Instance Attribute Summary

Attributes inherited from Period

#count

Instance Method Summary collapse

Methods inherited from Period

#filter, #initialize, #mktime

Constructor Details

This class inherits a constructor from Periodical::Filter::Period

Instance Method Details

#key(t) ⇒ Object



81
82
83
# File 'lib/periodical/filter.rb', line 81

def key(t)
	mktime(t.year, t.month, t.day, t.hour)
end