Class: Periodical::Filter::Weekly
- Defined in:
- lib/periodical/filter.rb
Constant Summary
Constants inherited from Period
Instance Attribute Summary
Attributes inherited from Period
Instance Method Summary collapse
Methods inherited from Period
Constructor Details
This class inherits a constructor from Periodical::Filter::Period
Instance Method Details
#key(t) ⇒ Object
93 94 95 |
# File 'lib/periodical/filter.rb', line 93 def key(t) mktime(t.year, t.month, t.day) - (t.wday * 3600 * 24) end |