Class: Noventius::PostProcessors::DateRanges::MonthRange

Inherits:
BaseRange
  • Object
show all
Defined in:
lib/noventius/post_processors/date_ranges.rb

Instance Attribute Summary

Attributes inherited from BaseRange

#date

Instance Method Summary collapse

Methods inherited from BaseRange

#<=>, #succ

Constructor Details

#initialize(date) ⇒ MonthRange

Returns a new instance of MonthRange.



124
125
126
127
# File 'lib/noventius/post_processors/date_ranges.rb', line 124

def initialize(date)
  super
  @step = 1.month
end