lib/zhong/every.rb in zhong-0.1.3 vs lib/zhong/every.rb in zhong-0.1.4
- old
+ new
@@ -6,10 +6,10 @@
day: 1.day,
week: 1.week,
month: 1.month,
semiannual: 6.months, # enterprise!
year: 1.year,
- decade: 10.year
+ decade: 10.years
}.freeze
def initialize(period)
@period = period
end