lib/repeatable/expression/range_in_year.rb in repeatable-0.3.0 vs lib/repeatable/expression/range_in_year.rb in repeatable-0.4.0
- old
+ new
@@ -1,7 +1,7 @@
module Repeatable
module Expression
- class RangeInYear < Base
+ class RangeInYear < Date
def initialize(start_month:, end_month: start_month, start_day: 0, end_day: 0)
@start_month = start_month
@end_month = end_month
@start_day = start_day
@end_day = end_day